mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Build: Disable maybe-uninitialized warning for GCC that incorrectly triggers with std::optional
This commit is contained in:
@@ -35,7 +35,8 @@ if(WITH_WARNINGS)
|
||||
-Winvalid-pch
|
||||
-Wfatal-errors
|
||||
-Woverloaded-virtual
|
||||
-Wno-missing-field-initializers) # this warning is useless when combined with structure members that have default initializers
|
||||
-Wno-missing-field-initializers # this warning is useless when combined with structure members that have default initializers
|
||||
-Wno-maybe-uninitialized) # this warning causes many false positives with std::optional
|
||||
|
||||
message(STATUS "GCC: All warnings enabled")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user