[C] Changed compilation warnings
This commit is contained in:
parent
88a5d76454
commit
ff17c3a1ce
@ -53,8 +53,6 @@ if("${FORT_COMPILER}" STREQUAL "MSVC")
|
|||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W4")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W4")
|
||||||
else("${FORT_COMPILER}" STREQUAL "MSVC")
|
else("${FORT_COMPILER}" STREQUAL "MSVC")
|
||||||
set(ADDITIONAL_WARNINGS "\
|
set(ADDITIONAL_WARNINGS "\
|
||||||
-Wduplicated-cond \
|
|
||||||
-Wlogical-op \
|
|
||||||
-Wdouble-promotion \
|
-Wdouble-promotion \
|
||||||
-Wshadow \
|
-Wshadow \
|
||||||
-Wformat=2 \
|
-Wformat=2 \
|
||||||
|
Loading…
Reference in New Issue
Block a user