[C] Changed compilation warnings

This commit is contained in:
seleznevae 2018-11-17 10:58:44 +03:00
parent 88a5d76454
commit ff17c3a1ce

View File

@ -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 \