2
0
mirror of https://github.com/boostorg/compat.git synced 2026-01-19 04:02:16 +00:00

Disable -Warray-bounds on GCC when sanitization is on

This commit is contained in:
Peter Dimov
2024-04-28 20:12:14 +03:00
parent ef87b7c225
commit cc45f3198a

View File

@@ -20,6 +20,12 @@ project
<toolset>msvc:<warnings-as-errors>on
<toolset>gcc:<warnings-as-errors>on
<toolset>clang:<warnings-as-errors>on
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81601
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91146
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92397
<toolset>gcc,<undefined-sanitizer>norecover:<cxxflags>"-Wno-array-bounds"
<toolset>gcc,<address-sanitizer>norecover:<cxxflags>"-Wno-array-bounds"
;
run quick.cpp ;