Skip to content

Commit 60f3e67

Browse files
[libc++] Activate -Warray-zero when building (#110812)
1 parent f6f4c17 commit 60f3e67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtimes/cmake/Modules/WarningFlags.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function(cxx_add_warning_flags target enable_werror enable_pedantic)
2323
-Wundef
2424
-Wunused-template
2525
-Wformat-nonliteral
26+
-Wzero-length-array
2627
)
2728

2829
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")

0 commit comments

Comments
 (0)