SWDEV-433317 - Added compilation flag to report an error if vla is used
Change-Id: I8a03e1fece88ec52261c53684c9f66bbfc401a12
[ROCm/hip-tests commit: 3ae4d80e86]
This commit is contained in:
committed by
German Andryeyev
parent
b821fdbfba
commit
d614ceced0
@@ -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