[A] Added more compiler warnings
This commit is contained in:
parent
d4a6e59a97
commit
7cd7a54179
@ -47,8 +47,8 @@ if(FORT_COMPILER STREQUAL "MSVC")
|
|||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W4")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W4")
|
||||||
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(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -g")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -g -Wextra")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -Wextra")
|
||||||
endif(FORT_COMPILER STREQUAL "MSVC")
|
endif(FORT_COMPILER STREQUAL "MSVC")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user