Skip to content

Commit

Permalink
Build is now more pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
optseb committed Nov 22, 2023
1 parent cc36a0b commit 69c9793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ else()
message(STATUS "GCC version ${CMAKE_CXX_COMPILER_VERSION} OK!")
endif()
endif()
set(CMAKE_CXX_FLAGS "${MORPH_HOST_DEFINITION} -Wall -g -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas -march=native -O3")
set(CMAKE_CXX_FLAGS "${MORPH_HOST_DEFINITION} -Wall -g -Werror=deprecated-copy -Wunused-parameter -Wpedantic -Werror -Wfatal-errors -Wunused-result -Wunknown-pragmas -pedantic-errors -march=native -O3")
endif()
else() # Windows
# Set flags for Windows. /EHsc required for use of exceptions
Expand Down

0 comments on commit 69c9793

Please sign in to comment.