Debian Codegraph @

Modules/ThirdParty/HDF5/src/itkhdf5/config/gnu-warnings/general

raw
1 # Note that some of the flags listed here really should be developer
2 # flags (listed in separate files, gnu-warnings-developer*) but we put
3 # them here because they are not raised by the current code and we'd like to
4 # know if they do start showing up.
5 #
6 # NOTE: Don't add -Wpadded here since we can't/won't fix the (many)
7 # warnings that are emitted. If you need it, add it from the
8 # environment variable at configure time.
9 -Wall
10 -Wcast-qual
11 -Wconversion
12 -Wextra
13 -Wfloat-equal
14 -Wformat=2
15 -Winit-self
16 -Winvalid-pch
17 -Wmissing-include-dirs
18 #
19 # NOTE: Due to the divergence in the C and C++, we're dropping support for
20 # compiling the C library with a C++ compiler and dropping the -Wc++-compat
21 # warning.
22 #
23 -Wno-c++-compat
24 #
25 # NOTE: Disable the -Wformat-nonliteral from -Wformat=2 here and re-add
26 # it to the developer flags.
27 #
28 -Wno-format-nonliteral
29 -Wshadow
30 -Wundef
31 -Wwrite-strings
32 -pedantic