summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/cxx-general
blob: 162652487050032e39976115cf1c4475e941c38e (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
# Note that some of the flags listed here really should be developer
# flags (listed in separate files, gnu-warnings-developer*) but we put
# them here because they are not raised by the current code and we'd like to
# know if they do start showing up.
#
# NOTE: Don't add -Wpadded here since we can't/won't fix the (many)
# warnings that are emitted. If you need it, add it from the
# environment variable at configure time.
-Wall
-Wcast-qual
-Wconversion
-Wctor-dtor-privacy
-Weffc++
-Wextra
-Wfloat-equal
-Wformat=2
-Winit-self
-Winvalid-pch
-Wmissing-include-dirs
-Wnon-virtual-dtor
-Wold-style-cast
-Woverloaded-virtual
-Wreorder
-Wshadow
-Wsign-promo
##-Wunreachable-code
-Wundef
##-Wvariadic-macros
-Wwrite-strings
-pedantic