Skip to content

Commit

Permalink
Merge pull request #2299 from ammkrn/remove_Werror
Browse files Browse the repository at this point in the history
remove -Werror from CMakeLists.txt
  • Loading branch information
b-scholz authored Apr 12, 2023
2 parents 314106d + 9d4736d commit 9aca161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ flex_target(scanner parser/scanner.ll ${CMAKE_CURRENT_BINARY_DIR}/parser/scanner
COMPILE_FLAGS "${SCANNER_COMPILE_FLAGS} -d")

bison_target(parser parser/parser.yy ${CMAKE_CURRENT_BINARY_DIR}/parser/parser.cc
COMPILE_FLAGS "-Wall -Werror -Wno-error=deprecated -Wno-error=other -v -d")
COMPILE_FLAGS "-Wall -Wno-error=deprecated -Wno-error=other -v -d")
add_flex_bison_dependency(scanner parser)


Expand Down Expand Up @@ -229,7 +229,7 @@ set_target_properties(compiled PROPERTIES CXX_EXTENSIONS OFF)
set_target_properties(compiled PROPERTIES POSITION_INDEPENDENT_CODE ON)

if (NOT MSVC)
target_compile_options(libsouffle PUBLIC -Wall -Wextra -Werror -fwrapv)
target_compile_options(libsouffle PUBLIC -Wall -Wextra -fwrapv)
else ()
target_compile_options(libsouffle PUBLIC /W3 /WX)
endif ()
Expand Down

0 comments on commit 9aca161

Please sign in to comment.