diff options
author | Sean McBride <sean@rogue-research.com> | 2021-05-03 14:08:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 14:08:37 (GMT) |
commit | 44db310d8d45d7d639b5b7745636d1a58555d89a (patch) | |
tree | 587b5b53be939f6c96f431a503387038a9d3ee74 | |
parent | 73bb382e9e77ca9847c09dff37b9e2338f26bbb8 (diff) | |
download | hdf5-44db310d8d45d7d639b5b7745636d1a58555d89a.zip hdf5-44db310d8d45d7d639b5b7745636d1a58555d89a.tar.gz hdf5-44db310d8d45d7d639b5b7745636d1a58555d89a.tar.bz2 |
Removed mentions of Wdeclaration-after-statement now that C99 is requ… (#447)
* Removed mentions of Wdeclaration-after-statement now that C99 is required
* Remove -Werror=declaration-after-statement from error-general file.
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
-rw-r--r-- | config/gnu-warnings/error-general | 1 | ||||
-rw-r--r-- | config/gnu-warnings/noerror-general | 1 | ||||
-rw-r--r-- | release_docs/INSTALL_Warnings.txt | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/config/gnu-warnings/error-general b/config/gnu-warnings/error-general index 4358b20..8405c40 100644 --- a/config/gnu-warnings/error-general +++ b/config/gnu-warnings/error-general @@ -3,7 +3,6 @@ # circumstances, so ask the compiler to treat them as errors: # -Werror=bad-function-cast --Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=missing-prototypes diff --git a/config/gnu-warnings/noerror-general b/config/gnu-warnings/noerror-general index e19014f..31194d3 100644 --- a/config/gnu-warnings/noerror-general +++ b/config/gnu-warnings/noerror-general @@ -3,7 +3,6 @@ # circumstances, so ask the compiler to treat them as errors: # -Wbad-function-cast --Wdeclaration-after-statement -Wimplicit-function-declaration -Wmissing-declarations -Wmissing-prototypes diff --git a/release_docs/INSTALL_Warnings.txt b/release_docs/INSTALL_Warnings.txt index 97b3f76..97981be 100644 --- a/release_docs/INSTALL_Warnings.txt +++ b/release_docs/INSTALL_Warnings.txt @@ -60,7 +60,6 @@ Autotools UNIX warnings added to H5_CFLAGS -Wcast-align -Wcast-qual -Wconversion - -Wdeclaration-after-statement -Wdisabled-optimization -Wfloat-equal -Wformat=2 @@ -291,7 +290,6 @@ IF GNU GCC -Wcast-align -Wcast-qual -Wconversion - -Wdeclaration-after-statement -Wdisabled-optimization -Wfloat-equal -Wformat=2 |