mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Turn -Wall back off for clang-based Windows builds.
Unfortunately, it gives an absolutely huge number of warnings, and it wouldn't be feasible to fix them all without risking introducing further bugs. Perhaps _after_ the next release branch it might be worth looking at some of them, but I don't think fixing them right now is viable. I've left it on for actual gcc, though, since the MinGW build seems OK with it.
This commit is contained in:
parent
71f409f088
commit
1dcf1a41c5
@ -102,9 +102,12 @@ else()
|
||||
set(LFLAG_MANIFEST_NO "")
|
||||
endif()
|
||||
|
||||
if(STRICT AND (CMAKE_C_COMPILER_ID MATCHES "GNU" OR
|
||||
CMAKE_C_COMPILER_ID MATCHES "Clang"))
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wpointer-arith -Wvla")
|
||||
if(STRICT)
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wpointer-arith -Wvla")
|
||||
elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wpointer-arith -Wvla")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "MSVC")
|
||||
|
Loading…
Reference in New Issue
Block a user