From 7e41c5c2d57a0bfe943783f6ea605cd7f07be7d0 Mon Sep 17 00:00:00 2001 From: eidheim Date: Thu, 9 Jul 2020 08:51:15 +0200 Subject: [PATCH] Added -Wno-deprecated-declarations since gtksourceview does not seem to fix these warnings in the near future --- .gitlab-ci.yml | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0407c6..9a476c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,7 +42,7 @@ thread-safety-analysis: stage: test script: - mkdir build && cd build - - CXX=clang++ CXXFLAGS="-Werror -Wno-deprecated-declarations" cmake .. + - CXX=clang++ CXXFLAGS=-Werror cmake .. - make -j$(nproc) address-sanitizer: diff --git a/CMakeLists.txt b/CMakeLists.txt index e9b7928..c3d29d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ include(CPack) set(CMAKE_CXX_STANDARD 14) -add_compile_options(-pthread -Wall -Wextra -Wno-unused-parameter) +add_compile_options(-pthread -Wall -Wextra -Wno-unused-parameter -Wno-deprecated-declarations) add_definitions(-DJUCI_VERSION="${JUCI_VERSION}") if(CMAKE_BUILD_TYPE STREQUAL "") add_compile_options(-O3)