mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[CMAKE] Remove obsolete 'GCC_VERSION' checks (#2962)
following upgrade to RosBE 2.2.0 support and GCC 8.4.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-stringop-overflow")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
add_definitions(-DUSE_WINE_TODOS)
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-format-overflow")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
add_definitions(-DUSE_WINE_TODOS)
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-format-overflow")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ if(MSVC_IDE)
|
||||
include_directories($<TARGET_FILE_DIR:custom>)
|
||||
endif()
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-format-overflow")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ add_definitions(
|
||||
-D_CRT_NONSTDC_NO_DEPRECATE
|
||||
-D__msvcrt_ulong=ULONG)
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-stringop-truncation")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-format-overflow")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-format-overflow")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG)
|
||||
|
||||
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-format-overflow")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ add_definitions(-DWINVER=0x602 -D_WIN32_WINNT=0x602)
|
||||
if(MSVC)
|
||||
# Disable warning C4477 (printf format warnings)
|
||||
add_compile_flags("/wd4477")
|
||||
elseif(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
elseif(GCC)
|
||||
add_compile_flags("-Wno-format-overflow")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
add_definitions(-DUSE_WINE_TODOS)
|
||||
|
||||
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-format-overflow")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user