[gdb/build] Disable attribute nonnull
authorTom de Vries <tdevries@suse.de>
Fri, 30 Jul 2021 12:12:30 +0000 (14:12 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 30 Jul 2021 12:12:30 +0000 (14:12 +0200)
commit7fab8f850f15372650abb44f5a6c1559dd565a94
tree90c088c79970cfb9f7429de63219b18a5caabf6e
parentc0f71837f82daf5b3587a8a3dca1e4037098d96e
[gdb/build] Disable attribute nonnull

With trunk gcc (12.0) we're running into a -Werror=nonnull-compare build
breaker in gdb, which caused a broader review of the usage of the nonnull
attribute.

The current conclusion is that it's best to disable this.  This is explained
at length in the gdbsupport/common-defs.h comment.

Tested by building with trunk gcc.

gdbsupport/ChangeLog:

2021-07-30  Tom de Vries  <tdevries@suse.de>

* common-defs.h (ATTRIBUTE_NONNULL): Disable.
gdbsupport/ChangeLog
gdbsupport/common-defs.h
This page took 0.024235 seconds and 4 git commands to generate.