3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-26 18:38:47 +00:00

Introduce (and use) a macro for the "trailing array" idiom, so we can disable warnings for this when they're in force.

This commit is contained in:
David Detlefs 2026-06-08 11:25:43 -07:00
parent 7e3aad4e17
commit fe2b6fac24
29 changed files with 93 additions and 36 deletions

View file

@ -12,6 +12,7 @@ set(GCC_ONLY_WARNINGS "")
set(CLANG_ONLY_WARNINGS
"-Wno-c++98-compat"
"-Wno-c++98-compat-pedantic"
"-Wzero-length-array"
)
set(MSVC_WARNINGS "/W3")