mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
Meta: Add -Wno-unqualified-std-cast-call to GCC compile flags
Otherwise we get a ton of errors about unqualified calls to `move` from clangd.
This commit is contained in:
parent
693fe76d1c
commit
e42bb72bd4
1 changed files with 4 additions and 3 deletions
|
@ -96,6 +96,7 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|||
# Only ignore expansion-to-defined for g++, clang's implementation doesn't complain about function-like macros
|
||||
add_cxx_compile_options(-Wno-expansion-to-defined)
|
||||
add_cxx_compile_options(-Wno-literal-suffix)
|
||||
add_cxx_compile_options(-Wno-unqualified-std-cast-call)
|
||||
add_cxx_compile_options(-Wvla)
|
||||
|
||||
# FIXME: This warning seems useful but has too many false positives with GCC 13.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue