SWDEV-433317 - Added compilation flag to report an error if vla is used

Change-Id: I8a03e1fece88ec52261c53684c9f66bbfc401a12
This commit is contained in:
Ioannis Assiouras
2023-11-20 23:14:05 +00:00
committed by German Andryeyev
orang tua 7481de706f
melakukan 3ae4d80e86
+1 -1
Melihat File
@@ -159,7 +159,7 @@ if (WIN32)
endif()
if(HIP_PLATFORM STREQUAL "amd")
add_compile_options(-Wall -Wextra -Werror -Wno-deprecated -Wno-option-ignored)
add_compile_options(-Wall -Wextra -Wvla -Werror -Wno-deprecated -Wno-option-ignored)
endif()
cmake_policy(PUSH)