Debian Codegraph @

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

raw
1 #
2 # These warnings will be treated as errors, using the error-general file,
3 # when HDF5_ENABLE_WARNINGS_AS_ERRORS is set to true for CMake or
4 # the --enable-warnings-as-errors option is specified for configure.
5 # Otherwise this file will be used to treat them as warnings.
6 #
7 -Wbad-function-cast
8 -Wimplicit-function-declaration
9 -Wmissing-declarations
10 -Wmissing-prototypes
11 -Wnested-externs
12 -Wold-style-definition
13 -Wpacked
14 -Wpointer-sign
15 -Wpointer-to-int-cast
16 -Wredundant-decls
17 -Wstrict-prototypes
18 -Wswitch
19 #
20 #-Werror=discarded-qualifiers
21 #
22 #
23 # NOTE: File Driver files are not compatible with these warnings as errors
24 # H5FDdirect.c,H5FDmpio.c,H5FDros3.c,
25 # -Werror=unused-function
26 #
27 -Wunused-function
28 #
29 # H5FDdrvr_module.h
30 # -Werror=unused-variable
31 #
32 -Wunused-variable
33 #
34 # H5VLpassthru.c
35 # -Werror=unused-parameter
36 #
37 -Wunused-parameter
38 #
39 #
40 #
41 # NOTE: Tools files are not compatible with these warnings as errors
42 # lib/h5tools.c
43 # -Werror=cast-align
44 #
45 -Wcast-align
46 #
47 # lib/h5diff_array.c
48 # -Werror=unused-but-set-variable
49 #
50 -Wunused-but-set-variable
51 #
52 # lib/h5tools_utils.c
53 # -Werror=unused-parameter
54 #
55 #
56 # NOTE: JNI files are not compatible with these warnings as errors
57 # jni/h5pDCPLImp.c,jni/nativeData.c,jni/h5util.c,jni/h5rImp.c
58 # jni/h5sImp.c,jni/h5tImp.c
59 # -Werror=cast-align
60 # jni/h5util.c
61 # -Werror=format(-overflow)
62 #
63 -Wformat
64 #
65 #
66 #Examples and tests do not use the same set of extensive warning flags as libraries
67 # Here is a list of tests and examples that have issues with the stricter warnings as error
68 #
69 # NOTE: Test files are not compatible with these warnings as errors
70 # thread_id.c,
71 # -Werror=unused-function
72 # dsets.c
73 # -Werror=unused-parameter
74 # external.c,perform/sio_engine.c
75 # -Werror=format(-truncation)
76 #
77 #
78 # NOTE: Examples files are not compatible with these warnings as errors
79 # h5_vds-eiger.c,h5_vds-exclim.c,h5_vds.c,h5_vds-exc.c,h5_vds-percival-unlim-maxmin.c
80 # h5_vds-percival.c,h5_read.c,h5_rdwt.c,h5_mount.c,h5_extend.c,h5_extend_write.c
81 # h5_write.c,h5_vds-simpleIO.c,h5_ref2reg_deprec.c,h5_crtgrp.c,h5_select.c
82 # h5_vds-percival-unlim.c,h5_crtatt.c,h5_group.c,h5_attribute.c,h5_crtdat.c
83 # h5_reference_deprec.c
84 # h5_rdwt.c,h5_crtgrp.c,h5_crtatt.c,h5_crtdat.c
85 # -Werror=strict-prototypes
86 # h5_rdwt.c,h5_crtgrp.c,h5_crtatt.c,h5_crtdat.c
87 # -Werror=old-style-definition
88 # h5_vds-exclim.c,h5_vds.c,h5_vds-exc.c,
89 # -Werror=unused-variable
90 # h5_elink_unix2win.c,h5_extlink.c,h5_attribute.c
91 # -Werror=unused-parameter
92