mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:08:12 +00:00
Meta: Enable gcc warning about struct vs. class
I know, the tags don't actually matter. However, clang warns by default, and instead of disabling the warning for clang I'd rather enable the warning for gcc.
This commit is contained in:
parent
0d79e57c4d
commit
d25860f53c
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ add_custom_target(check-style
|
|||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -Wall -Wextra -Werror -Wmissing-declarations -std=c++2a -fdiagnostics-color=always")
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fconcepts")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fconcepts -Wmismatched-tags")
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-overloaded-virtual")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue