Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set C++ version to 17 when using [[no_discard]] #2291

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

vrabaud
Copy link
Collaborator

@vrabaud vrabaud commented Jul 18, 2024

17 was introduced in CMake 3.8
https://cmake.org/cmake/help/v3.8/prop_tgt/CXX_STANDARD.html

This fixes #2276

@vrabaud vrabaud requested a review from wantehchang July 18, 2024 11:20
CMakeLists.txt Outdated Show resolved Hide resolved
@vrabaud vrabaud merged commit 920f70f into AOMediaCodec:main Jul 18, 2024
29 checks passed
@vrabaud vrabaud deleted the no_discard branch July 18, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In CMakeLists.txt, AVIF_ENABLE_NODISCARD probably should set CMAKE_CXX_STANDARD to 17
2 participants