ENH: remove warning suppressions for borland compiler, projects wanting this should use -w-, the default warning level is used for all other compilers. Used to be -w- -whid -waus -wpar
This commit is contained in:
parent
92cfb52336
commit
79b7e0c37c
|
@ -74,12 +74,12 @@ SET(CMAKE_CREATE_WIN32_EXE "-tW -tWM" )
|
|||
# extra flags for a console app
|
||||
SET(CMAKE_CREATE_CONSOLE_EXE "-tWC" )
|
||||
|
||||
SET (CMAKE_CXX_FLAGS_INIT "-w- -whid -waus -wpar -tWM")
|
||||
SET (CMAKE_CXX_FLAGS_INIT "-tWM")
|
||||
SET (CMAKE_CXX_FLAGS_DEBUG_INIT "-Od -v")
|
||||
SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O1 -DNDEBUG")
|
||||
SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2 -DNDEBUG")
|
||||
SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-Od")
|
||||
SET (CMAKE_C_FLAGS_INIT "-w- -whid -waus -tWM")
|
||||
SET (CMAKE_C_FLAGS_INIT "-tWM")
|
||||
SET (CMAKE_C_FLAGS_DEBUG_INIT "-Od -v")
|
||||
SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-O1 -DNDEBUG")
|
||||
SET (CMAKE_C_FLAGS_RELEASE_INIT "-O2 -DNDEBUG")
|
||||
|
|
Loading…
Reference in New Issue