mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 12:07:44 +01:00
Warn on the use of VLAs
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user