summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-05-03 14:08:37 (GMT)
committerGitHub <noreply@github.com>2021-05-03 14:08:37 (GMT)
commit44db310d8d45d7d639b5b7745636d1a58555d89a (patch)
tree587b5b53be939f6c96f431a503387038a9d3ee74 /config/gnu-warnings
parent73bb382e9e77ca9847c09dff37b9e2338f26bbb8 (diff)
downloadhdf5-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>
Diffstat (limited to 'config/gnu-warnings')
-rw-r--r--config/gnu-warnings/error-general1
-rw-r--r--config/gnu-warnings/noerror-general1
2 files changed, 0 insertions, 2 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