Skip to content

Commit 4a28668

Browse files
ktfvkucera
andauthored
[Infrastructure] Ignore warnings for C-style VLAs (#16036)
Co-authored-by: Vít Kučera <26327373+vkucera@users.noreply.github.com>
1 parent 8f6c591 commit 4a28668

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dependencies/O2PhysicsCompileFlags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
1717
set(O2PHYSICS_WARNINGS_COMMON_NO_ERROR "")
1818

1919
# Enabled warnings supported by Clang only, not treated as errors
20-
set(O2PHYSICS_WARNINGS_CLANG_NO_ERROR "")
20+
set(O2PHYSICS_WARNINGS_CLANG_NO_ERROR "vla-extension")
2121

2222
# Enabled warnings supported by GCC only, not treated as errors
2323
set(O2PHYSICS_WARNINGS_GCC_NO_ERROR "")

0 commit comments

Comments
 (0)