Skip to content

Commit d8833d9

Browse files
committed
stop on first compilation error in Debug mode
1 parent 368f00b commit d8833d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmpdata++-config.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ set(libmpdataxx_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../include/")
3232

3333
############################################################################################
3434
# debug mode compiler flags
35-
set(libmpdataxx_CXX_FLAGS_DEBUG "${libmpdataxx_CXX_FLAGS_DEBUG} -std=c++14 -DBZ_DEBUG -g -Wno-enum-compare") #TODO: -Og if compiler supports it?
35+
set(libmpdataxx_CXX_FLAGS_DEBUG "${libmpdataxx_CXX_FLAGS_DEBUG} -std=c++14 -DBZ_DEBUG -g -Wno-enum-compare -Wfatal-errors") #TODO: -Og if compiler supports it?
3636

3737

3838
############################################################################################

0 commit comments

Comments
 (0)