SWDEV-433317 - Added compilation flag to report an error if vla is used
Change-Id: I8a03e1fece88ec52261c53684c9f66bbfc401a12
This commit is contained in:
committed by
German Andryeyev
orang tua
7481de706f
melakukan
3ae4d80e86
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user