Debian Codegraph @

config/clang-warnings/general

raw
1 # general clang warnings flags
2 -Wall
3 -Warray-bounds
4 -Wbad-function-cast
5 -Wcast-align
6 -Wcast-qual
7 -Wconversion
8 -Wdouble-promotion
9 -Wextra
10 -Wformat=2
11 -Wframe-larger-than=16384
12 -Wimplicit-fallthrough
13 -Wimplicit-function-declaration
14 -Wincompatible-pointer-types
15 -Wincompatible-pointer-types-discards-qualifiers
16 -Wmissing-declarations
17 -Wnull-dereference
18 -Wpacked
19 -Wpedantic
20 -Wshadow
21 -Wswitch
22 -Wunused-const-variable
23 -Wunused-function
24 -Wunused-variable
25 -Wunused-parameter
26 -Wwrite-strings
27 -Wvolatile-register-var
28
29 # NOTE: Due to the divergence in the C and C++, we're dropping support for
30 # compiling the C library with a C++ compiler and dropping the -Wc++-compat
31 # warning.
32 #
33 -Wno-c++-compat