Commit 256cb24
committed
Disable static array-bounds check so suppress false positives
Newer versions of GCC warn about memory accesses at non-zero offsets
from null pointers. As we use this intentionally at different places
in our code, these warnings result in many false positives. Temporarily,
disabling the flag using pragmas is not viable as it is caused by
macros that provide an expression. So we could not just fix the macro,
but wherever it is used.
Tracked by: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
Signed-off-by: Jean-Claude Graf <mail@jeanclaudegraf.ch>1 parent e1658d8 commit 256cb24
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
| |||
0 commit comments