Skip to content

Commit

Permalink
[libc++] Activate -Warray-zero when building
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Oct 2, 2024
1 parent 6af2f22 commit a617bb9
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 a617bb9

Please sign in to comment.