From 9d4736d99da5c4642edc31f2518e8d73332b1145 Mon Sep 17 00:00:00 2001 From: ammkrn Date: Mon, 22 Aug 2022 23:57:11 -0500 Subject: [PATCH] remove -Werror from CMakeLists.txt --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c796d82d7d5..59356d570ec 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -169,7 +169,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) @@ -220,7 +220,7 @@ set_target_properties(libsouffle PROPERTIES CXX_EXTENSIONS OFF) set_target_properties(compiled PROPERTIES CXX_EXTENSIONS OFF) 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 ()