summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings-developer-general
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-01-17 19:13:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-01-17 19:14:06 (GMT)
commitcf84882b3c23139f2f9b1edd60f0785d3c522a14 (patch)
treecea1e2b106b6acc5753bd80b8dc85e195b91c4fc /config/gnu-warnings-developer-general
parent5fadf221baee915b74918c37c1ab34b24975be87 (diff)
downloadhdf5-cf84882b3c23139f2f9b1edd60f0785d3c522a14.zip
hdf5-cf84882b3c23139f2f9b1edd60f0785d3c522a14.tar.gz
hdf5-cf84882b3c23139f2f9b1edd60f0785d3c522a14.tar.bz2
Create common build system files for warnings
Diffstat (limited to 'config/gnu-warnings-developer-general')
-rw-r--r--config/gnu-warnings-developer-general14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/gnu-warnings-developer-general b/config/gnu-warnings-developer-general
new file mode 100644
index 0000000..fd47e76
--- /dev/null
+++ b/config/gnu-warnings-developer-general
@@ -0,0 +1,14 @@
+# (suggestions from gcc, not code problems)
+# NOTE: -Wformat-nonliteral added back in here (from being disabled in
+# H5_CFLAGS)
+-Waggregate-return
+-Wformat-nonliteral
+-Winline
+-Wmissing-format-attribute
+-Wmissing-noreturn
+# suggested dev warnings from general section
+# -Wdisabled-optimization
+# -Wswitch-default
+# -Wswitch-enum
+# -Wunsafe-loop-optimizations
+# -Wunused-macros \ No newline at end of file