From 84c1db19863b62b2bfb0daeeaf3aa720f7292111 Mon Sep 17 00:00:00 2001 From: Vincent La Date: Sun, 19 May 2024 20:49:12 -0700 Subject: [PATCH] Remove -WError flag (#229) --- .github/workflows/cmake-multi-platform.yml | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 8da957d..e4c85ab 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -4,7 +4,7 @@ name: CMake on multiple platforms on: push: - branches: [ "master", "memory-fix-gcc" ] + branches: [ "master", "remove-werror" ] pull_request: branches: [ "master" ] diff --git a/CMakeLists.txt b/CMakeLists.txt index 3723ac1..1b920b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ if (CSV_DEVELOPER) # More error messages. if (UNIX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \ - -Wall -Werror -Wextra -Wsign-compare \ + -Wall -Wextra -Wsign-compare \ -Wwrite-strings -Wpointer-arith -Winit-self \ -Wconversion -Wno-sign-conversion") endif()