mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
Warn on the use of VLAs
This commit is contained in:
parent
91652df5b1
commit
5ba3a414d6
@ -97,6 +97,7 @@ target_compile_options(slsProjectWarnings INTERFACE
|
|||||||
-Wformat=2
|
-Wformat=2
|
||||||
-Wredundant-decls
|
-Wredundant-decls
|
||||||
# -Wconversion
|
# -Wconversion
|
||||||
|
-Wvla
|
||||||
-Wdouble-promotion
|
-Wdouble-promotion
|
||||||
-Werror=return-type
|
-Werror=return-type
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user