mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 17:24:48 -05:00
CMake: Add warning for missing field initializers globally
This warning is already enabled by our existing flags with gcc-13, so make sure that clang checks these as well.
This commit is contained in:
parent
6bc339b737
commit
8eefe7b152
Notes:
github-actions[bot]
2024-11-04 23:11:09 +00:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/8eefe7b1527 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2167
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ add_cxx_compile_options(-Wcast-qual)
|
|||
add_cxx_compile_options(-Wformat=2)
|
||||
add_cxx_compile_options(-Wimplicit-fallthrough)
|
||||
add_cxx_compile_options(-Wmissing-declarations)
|
||||
add_cxx_compile_options(-Wmissing-field-initializers)
|
||||
add_cxx_compile_options(-Wsuggest-override)
|
||||
|
||||
add_cxx_compile_options(-Wno-invalid-offsetof)
|
||||
|
|
Loading…
Reference in a new issue