Silence GCC warning.
GitOrigin-RevId: c0b19db450a01d204fc74f30b75c3552a816bdbe
This commit is contained in:
parent
93dd076d8a
commit
096a0434b0
@ -225,7 +225,7 @@ if (NOT MSVC)
|
|||||||
# add_cxx_compiler_flag("-Wzero-as-null-pointer-constant")
|
# add_cxx_compiler_flag("-Wzero-as-null-pointer-constant")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (GCC AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0))
|
if (GCC AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.0))
|
||||||
add_cxx_compiler_flag("-Wno-maybe-uninitialized") # too much false positives
|
add_cxx_compiler_flag("-Wno-maybe-uninitialized") # too much false positives
|
||||||
endif()
|
endif()
|
||||||
if (GCC AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0))
|
if (GCC AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user