Skip to content

depends: patch boost to ignore -Wnonnull new gcc 11 warnings#64

Merged
DeckerSU merged 1 commit intostatic-experimentalfrom
patch-boost-ignore-wnonnull-gcc11
Nov 16, 2023
Merged

depends: patch boost to ignore -Wnonnull new gcc 11 warnings#64
DeckerSU merged 1 commit intostatic-experimentalfrom
patch-boost-ignore-wnonnull-gcc11

Conversation

@DeckerSU
Copy link
Copy Markdown
Owner

@DeckerSU DeckerSU commented Nov 16, 2023

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:

this patch fixes errors like:

```
nclude/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
@DeckerSU DeckerSU merged commit 48ad4f6 into static-experimental Nov 16, 2023
@DeckerSU DeckerSU deleted the patch-boost-ignore-wnonnull-gcc11 branch November 16, 2023 06:47
DeckerSU added a commit that referenced this pull request Nov 21, 2023
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant