summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/8
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-03-19 02:12:53 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:56 (GMT)
commit5050218f748142479ae7e0a18d9d63df6b4fa7f2 (patch)
tree2c3104b8f0b6d17a0789b3683f9c32d81d6967de /config/gnu-warnings/8
parent0822b91ec93b3150cf10bec0d6145338f3eb5082 (diff)
downloadhdf5-5050218f748142479ae7e0a18d9d63df6b4fa7f2.zip
hdf5-5050218f748142479ae7e0a18d9d63df6b4fa7f2.tar.gz
hdf5-5050218f748142479ae7e0a18d9d63df6b4fa7f2.tar.bz2
Move the GNU warnings configuration under config/gnu-warnings/ and trim
the filename prefixes. Update config/gnu-flags to suit. I also made changes to config/cmake/HDFCompilerFlags.cmake, but I'm not sure they're correct.
Diffstat (limited to 'config/gnu-warnings/8')
-rw-r--r--config/gnu-warnings/83
1 files changed, 3 insertions, 0 deletions
diff --git a/config/gnu-warnings/8 b/config/gnu-warnings/8
new file mode 100644
index 0000000..5e7519d
--- /dev/null
+++ b/config/gnu-warnings/8
@@ -0,0 +1,3 @@
+-Wattribute-alias
+-Wcast-align=strict
+-Wshift-overflow=2