blob: 8bb13654585b02b44b7f0a59d1b51dee2c9657bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From: Pavel Sobolev <contact@paveloom.dev>
Subject: [PATCH] Strip `-Werror`.
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
--- a/tests/unit_test/CMakeLists.txt
+++ b/tests/unit_test/CMakeLists.txt
@@ -117,18 +117,18 @@ target_compile_options(
>
# GNU
$<$<CXX_COMPILER_ID:GNU>:
- -Wall -Wextra -Werror -pedantic -Wpedantic -Wdeprecated --all-warnings --extra-warnings
+ -Wall -Wextra -pedantic -Wpedantic -Wdeprecated --all-warnings --extra-warnings
-Wno-deprecated-declarations # for testing deprecated functions
-Wno-self-move # necessary to build the detail::iterator class test
>
# Clang
$<$<CXX_COMPILER_ID:Clang>:
- -Wall -Wextra -Werror -pedantic -Wdeprecated
+ -Wall -Wextra -pedantic -Wdeprecated
-Wno-c++98-compat -Wno-c++98-compat-pedantic
-Wno-deprecated-declarations # for testing deprecated functions
>
$<$<CXX_COMPILER_ID:AppleClang>:
- -Wall -Wextra -Werror -pedantic -Wdeprecated
+ -Wall -Wextra -pedantic -Wdeprecated
-Wno-deprecated-declarations # for testing deprecated functions
>
# IntelLLVM
|