-
Notifications
You must be signed in to change notification settings - Fork 207
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
GCC suggest-override warnings #303
Comments
Not sure what to say. Boost.Python doesn't yet require C++11, so I'd suggest to simply not compile it with |
Applications that use Boost.Python may be compiled with C++11 or newer. Also modern vwrsions of GCC and Clang set C++11/14 by default. It's not very convenient to suppress warnings in each file that include Boost.Python. |
Can you suggest any alternative, short of making C++11 a requirement ? |
Please take a look on boostorg/config#329 mentioned above. There will be macro that will handle both C++-11/newer and older versions. |
|
Patch is in python.txt. |
Fixes are in #309. |
Complete list of warnings when Boost 1.72 is built with GCC 7.5 with
-Wsuggest-override
added tocxxflags
:Depends on boostorg/config#329.
The text was updated successfully, but these errors were encountered: