-
Notifications
You must be signed in to change notification settings - Fork 141
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
Ugly GCC -Wattributes warnings that cannot be suppressed using /included/ variant #235
Comments
Hi, Sorry about those warnings (at some point I need to fix the Appveyor to get those as well). Which Boost Test variant (header/shared/static) are you using in this configuration? |
Sorry I missed this information from the title of the issue. |
We can try hard to silence the warning, but I remember from a past project that this does not work well, and it seems that this would hide the real issue. In the included variant, the macro My understanding is that in the included variant, The branch |
I:\boost\libs\test>git status Program: I:\boost\libs\hello_boost\example\hello_boost_test_included.cpp Also builds OK with GCC 9.2.0 BuildInfo: (__MINGW64__is defined with value 1.) So your fix seems to do the trick for Codeblock 17.2 using GCC and mingw64 :-) Many thanks. |
* topic/GH-235-gcc-attribute-warnings: Change log BOOST_TEST_DECL should evalute to nothing in the included variant
* topic/GH-235-gcc-attribute-warnings: Change log BOOST_TEST_DECL should evalute to nothing in the included variant
Merged to master |
I am seeing dozens of warnings (that cannot be suppressed using -W-no-attributes) like this:
This seem to be specific to using mingw (and Codeblocks 17.12)
https://stackoverflow.com/questions/26025708/warning-visibility-attribute-ignored-symbol-visibility-c-gcc
sheds a little light on what might be causing these messages.
Full log of this simple test of Boost.Test available on request.
This is harmless but annoying.
The text was updated successfully, but these errors were encountered: