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>
This commit is contained in:
Sean McBride 2021-05-03 10:08:37 -04:00 committed by GitHub
parent 73bb382e9e
commit 44db310d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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