-
Notifications
You must be signed in to change notification settings - Fork 483
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
C++ 20 support ? #954
Comments
I’ll take a look. |
just add set(CMAKE_CXX_STANDARD 20) in CMakeLists.txt and build gcc version 11.2.1 20220127 (Red Hat 11.2.1-9) (GCC)
using C++20 it seems that using the notation in the definition is consider as an error I think it's a minimal patch tested with gc11 + vs2022 with C++ standard 11, 17 and 20 AP4_Array& operator=(const AP4_Array& copy); maybe those operator aren't really used so it doesn't trigger a compilation error ! |
The latest code should support C++ 20 with gcc now. |
Is there a way to build with C++ 20 or do you have an update plan for that ?
template class like AP4_List and Array are not compile as is with C++20 standard.
The text was updated successfully, but these errors were encountered: