Skip to content

Commit

Permalink
[libc++] Activate -Warray-zero when building (#110812)
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille authored Oct 4, 2024
1 parent f6f4c17 commit 60f3e67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtimes/cmake/Modules/WarningFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function(cxx_add_warning_flags target enable_werror enable_pedantic)
-Wundef
-Wunused-template
-Wformat-nonliteral
-Wzero-length-array
)

if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
Expand Down

0 comments on commit 60f3e67

Please sign in to comment.