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:
parent
7e3aad4e17
commit
fe2b6fac24
29 changed files with 93 additions and 36 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue