You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not quite sure what to do about this, there are several options. I think this is not our fault, clang is inconsistent here. My expectation is that when I compile with -std=c++14, a compiler should simply not accept the attribute. But clang-6 does accept it anyway which is why the configuration tests pick this up. However, when pedantic warnings are enabled, it warns about the usage.
So the general solution would be to run the configuration tests with -Wpedantic -Werror.
The text was updated successfully, but these errors were encountered:
HDembinski
changed the title
BOOST_ATTRIBUTE_NOEXCEPT triggers -Wpedantic on clang-6
BOOST_ATTRIBUTE_NODISCARD triggers -Wpedantic on clang-6
Oct 19, 2019
See issue on Godbolt
I am not quite sure what to do about this, there are several options. I think this is not our fault, clang is inconsistent here. My expectation is that when I compile with
-std=c++14
, a compiler should simply not accept the attribute. But clang-6 does accept it anyway which is why the configuration tests pick this up. However, when pedantic warnings are enabled, it warns about the usage.So the general solution would be to run the configuration tests with
-Wpedantic -Werror
.The text was updated successfully, but these errors were encountered: