Debian Codegraph @

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

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