Build: disable missing field initializers warning on clang as well
This commit is contained in:
1 parent
6ae053a590
commit
dd58d5ec0e
1 file changed
+2
-1
@@ -48,7 +48,8 @@ if(WITH_WARNINGS)
|
|||||||
-Winit-self
|
-Winit-self
|
||||||
-Wfatal-errors
|
-Wfatal-errors
|
||||||
-Wno-mismatched-tags
|
-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")
|
message(STATUS "Clang: All warnings enabled")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in new issue
Block a user