depends: patch boost to ignore -Wnonnull new gcc 11 warnings#607
Conversation
this patch fixes errors like:
```
include/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer null [-Wnonnull]
39 | static void failed() { ((Model*)0)->~Model(); }
```
during build with gcc 11.x, more details can be found here:
- boostorg/concept_check#27
- boostorg/concept_check#28
# Conflicts:
# depends/packages/boost.mk
|
Wouldn't adding |
No, the effect will not be the same. There is a difference in the scope in which |
|
a) BOOST_CPPFLAGS is a thing, so it could be added there if the blanket method is "too broad" given that there seems to be no desire to fix non-false-positives Obviously, the counter to b) is that some actual edits are needed, but the counter to the counter is that eventually the current will be unsupported and will need updating anyway. |
|
@TheComputerGenie You're correct, using As for the version of Boost we're using, we've found that Regardless, we appreciate your input. For your own builds, you're certainly welcome to use |
Release v1.2.11
this patch fixes errors like:
during build with gcc 11.x, more details can be found here: