summaryrefslogtreecommitdiffstats
path: root/config/clang-warnings/general
blob: 433dff93612bc478661bc65bcc7e26c57d20ed9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# general clang warnings flags
-Wall
-Warray-bounds
-Wcast-qual
-Wconversion
-Wdouble-promotion
-Wextra
-Wformat=2
-Wframe-larger-than=16384
-Wimplicit-fallthrough
-Wnull-dereference
-Wunused-const-variable
-Wwrite-strings
-Wpedantic
-Wvolatile-register-var
# NOTE: Due to the divergence in the C and C++, we're dropping support for
# compiling the C library with a C++ compiler and dropping the -Wc++-compat
# warning.
#
-Wno-c++-compat