diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-10-21 21:09:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-21 21:09:09 (GMT) |
commit | 25ef191f433f0b90cd691d6481e6259ef7f5bc65 (patch) | |
tree | 7d848a023f120fa1ba81caddf998df2c12af2fb8 /config/gnu-warnings | |
parent | 9ad1d9073c2750d7675ef7296e6ad80d50fbdc0f (diff) | |
download | hdf5-25ef191f433f0b90cd691d6481e6259ef7f5bc65.zip hdf5-25ef191f433f0b90cd691d6481e6259ef7f5bc65.tar.gz hdf5-25ef191f433f0b90cd691d6481e6259ef7f5bc65.tar.bz2 |
1.12 Merge Move test utilities to utils/test folder #1109 (#1110)
* Merge Move test utilities to utils/test folder #1109
* Merge Correct shell tests and c++ flag warning
* Fix typo
Diffstat (limited to 'config/gnu-warnings')
-rw-r--r-- | config/gnu-warnings/cxx-developer-4.8 | 16 | ||||
-rw-r--r-- | config/gnu-warnings/no-cxx-developer-4.8 | 9 |
2 files changed, 25 insertions, 0 deletions
diff --git a/config/gnu-warnings/cxx-developer-4.8 b/config/gnu-warnings/cxx-developer-4.8 new file mode 100644 index 0000000..e0d975f --- /dev/null +++ b/config/gnu-warnings/cxx-developer-4.8 @@ -0,0 +1,16 @@ +# developer warning flags added for GCC >= 4.5 +# +# developer warning flag added for GCC >= 4.6 +-Wsuggest-attribute=const + +# developer warning flags added for GCC >= 4.7 +-Wsuggest-attribute=noreturn +-Wsuggest-attribute=pure +# +# It's not clear that -Wvector-operation-performance warnings are +# actionable, so they are demoted to "developer" warnings. +# +-Wvector-operation-performance + +# developer warning flag added for GCC >= 4.8 +-Wsuggest-attribute=format diff --git a/config/gnu-warnings/no-cxx-developer-4.8 b/config/gnu-warnings/no-cxx-developer-4.8 new file mode 100644 index 0000000..3c3de93 --- /dev/null +++ b/config/gnu-warnings/no-cxx-developer-4.8 @@ -0,0 +1,9 @@ +# no-developer warning flag added for GCC >= 4.6 +-Wno-suggest-attribute=const + +# no-developer warning flags added for GCC >= 4.7 +-Wno-suggest-attribute=noreturn +-Wno-suggest-attribute=pure + +# no-developer warning flag added for GCC >= 4.8 +-Wno-suggest-attribute=format |