Debian Codegraph @

Modules/ThirdParty/HDF5/src/itkhdf5/config/clang-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 -Wincompatible-pointer-types
10 -Wmissing-declarations
11 -Wpacked
12 -Wshadow
13 -Wswitch
14 #
15 # NOTE: Following files are not compatible with incompatible-pointer-types as errors
16 # src/H5Dchunk.c,src/H5Dint.c,src/H5Gint.c,src/H5HFcache.c,src/H5I.c,src/H5T.c
17 -Wno-error=incompatible-pointer-types-discards-qualifiers
18 #
19 #
20 # NOTE: File Driver files are not compatible with these warnings as errors
21 # H5FDdirect.c,H5FDmpio.c,H5FDros3.c,
22 # -Werror=unused-function
23 #
24 -Wunused-function
25 #
26 # H5FDdrvr_module.h
27 # -Werror=unused-variable
28 #
29 -Wunused-variable
30 #
31 # H5VLpassthru.c
32 # -Werror=unused-parameter
33 #
34 -Wunused-parameter
35 #
36 #
37 #
38 # NOTE: Tools files are not compatible with these warnings as errors
39 # lib/h5tools.c
40 # -Werror=cast-align
41 #
42 -Wcast-align
43 #
44 # lib/h5tools_utils.c
45 # -Werror=unused-parameter
46 #
47 #
48 # NOTE: JNI files are not compatible with these warnings as errors
49 # jni/h5pDCPLImp.c,jni/nativeData.c,jni/h5util.c,jni/h5rImp.c
50 # jni/h5sImp.c,jni/h5tImp.c
51 # -Werror=cast-align
52 # jni/h5util.c
53 # -Werror=format(-overflow)
54 #
55 -Wformat
56 #
57 #
58 #Examples and tests do not use the same set of extensive warning flags as libraries
59 # Here is a list of tests and examples that have issues with the stricter warnings as error
60 #
61 # NOTE: Test files are not compatible with these warnings as errors
62 # thread_id.c,
63 # -Werror=unused-function
64 # dsets.c
65 # -Werror=unused-parameter
66 #
67 #
68 # NOTE: Examples files are not compatible with these warnings as errors
69 # h5_vds-eiger.c,h5_vds-exclim.c,h5_vds.c,h5_vds-exc.c,h5_vds-percival-unlim-maxmin.c
70 # h5_vds-percival.c,h5_read.c,h5_rdwt.c,h5_mount.c,h5_extend.c,h5_extend_write.c
71 # h5_write.c,h5_vds-simpleIO.c,h5_ref2reg_deprec.c,h5_crtgrp.c,h5_select.c
72 # h5_vds-percival-unlim.c,h5_crtatt.c,h5_group.c,h5_attribute.c,h5_crtdat.c
73 # h5_reference_deprec.c
74 # h5_rdwt.c,h5_crtgrp.c,h5_crtatt.c,h5_crtdat.c
75 # -Werror=strict-prototypes
76 # h5_rdwt.c,h5_crtgrp.c,h5_crtatt.c,h5_crtdat.c
77 # -Werror=old-style-definition
78 # h5_vds-exclim.c,h5_vds.c,h5_vds-exc.c,
79 # -Werror=unused-variable
80 # h5_elink_unix2win.c,h5_extlink.c,h5_attribute.c
81 # -Werror=unused-parameter
82