mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Build: Disable -Wmissing-field-initializers for clang, it now mirrors unwanted gcc behavior since version 18
(cherry picked from commit 93c8993314)
This commit is contained in:
@@ -48,7 +48,8 @@ if(WITH_WARNINGS)
|
||||
-Winit-self
|
||||
-Wfatal-errors
|
||||
-Wno-mismatched-tags
|
||||
-Woverloaded-virtual)
|
||||
-Woverloaded-virtual
|
||||
-Wno-missing-field-initializers) # this warning is useless when combined with structure members that have default initializers
|
||||
|
||||
message(STATUS "Clang: All warnings enabled")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user