mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 07:39:56 -06:00
Make clang shut up about -Wno-error=maybe-uninitialized in teakra
This commit is contained in:
@ -58,10 +58,14 @@ else()
|
|||||||
-pedantic
|
-pedantic
|
||||||
-pedantic-errors
|
-pedantic-errors
|
||||||
-Wfatal-errors
|
-Wfatal-errors
|
||||||
-Wno-error=maybe-uninitialized
|
|
||||||
-Wno-missing-braces
|
-Wno-missing-braces
|
||||||
-Wno-unused-parameter)
|
-Wno-unused-parameter)
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
|
list(APPEND TEAKRA_CXX_FLAGS
|
||||||
|
-Wno-error=maybe-uninitialized)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (TEAKRA_WARNINGS_AS_ERRORS)
|
if (TEAKRA_WARNINGS_AS_ERRORS)
|
||||||
list(APPEND TEAKRA_CXX_FLAGS
|
list(APPEND TEAKRA_CXX_FLAGS
|
||||||
-Werror)
|
-Werror)
|
||||||
|
Reference in New Issue
Block a user