mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Fix bootstrap -Werror builds after clang r258128
llvm-svn: 258181
This commit is contained in:
parent
8820217862
commit
70c6fe4d8d
@ -403,6 +403,9 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
|
|||||||
append("-Wall -W -Wno-unused-parameter -Wwrite-strings" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
|
append("-Wall -W -Wno-unused-parameter -Wwrite-strings" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
|
||||||
append("-Wcast-qual" CMAKE_CXX_FLAGS)
|
append("-Wcast-qual" CMAKE_CXX_FLAGS)
|
||||||
|
|
||||||
|
# FIXME: Clean up the codebase, then remove this flag.
|
||||||
|
add_flag_if_supported("-Wno-expansion-to-defined" EXPANSION_TO_DEFINED_FLAG)
|
||||||
|
|
||||||
# Turn off missing field initializer warnings for gcc to avoid noise from
|
# Turn off missing field initializer warnings for gcc to avoid noise from
|
||||||
# false positives with empty {}. Turn them on otherwise (they're off by
|
# false positives with empty {}. Turn them on otherwise (they're off by
|
||||||
# default for clang).
|
# default for clang).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user