Debian Codegraph @

cmake/clang_flags.cmake

raw ◀ ▶
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 # -Wno-missing-noreturn We found no way to silence this warning otherwise, see PR #4871
10
11 set(CLANG_CXXFLAGS
12 -Werror
13 -Weverything
14 -Wno-c++98-compat
15 -Wno-c++98-compat-pedantic
16 -Wno-deprecated-declarations
17 -Wno-extra-semi-stmt
18 -Wno-padded
19 -Wno-covered-switch-default
20 -Wno-unsafe-buffer-usage
•21 -Wno-missing-noreturn
22 )