Debian Codegraph @

cmake/clang_flags.cmake

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 # Ignored Clang warnings:
2 # -Wno-c++98-compat The library targets C++11.
3 # -Wno-c++98-compat-pedantic The library targets C++11.
4 # -Wno-deprecated-declarations The library contains annotations for deprecated functions.
5 # -Wno-extra-semi-stmt The library uses assert which triggers this warning.
6 # -Wno-padded We do not care about padding warnings.
7 # -Wno-covered-switch-default All switches list all cases and a default case.
8 # -Wno-unsafe-buffer-usage Otherwise Doctest would not compile.
9
10 set(CLANG_CXXFLAGS
11 -Werror
12 -Weverything
13 -Wno-c++98-compat
14 -Wno-c++98-compat-pedantic
15 -Wno-deprecated-declarations
16 -Wno-extra-semi-stmt
17 -Wno-padded
18 -Wno-covered-switch-default
19 -Wno-unsafe-buffer-usage
20 )