Skip to content

Commit

Permalink
Removed mentions of Wdeclaration-after-statement now that C99 is requ… (
Browse files Browse the repository at this point in the history
#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>
  • Loading branch information
seanm and lrknox authored May 3, 2021
1 parent 73bb382 commit 44db310
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion config/gnu-warnings/error-general
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion config/gnu-warnings/noerror-general
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions release_docs/INSTALL_Warnings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -291,7 +290,6 @@ IF GNU GCC
-Wcast-align
-Wcast-qual
-Wconversion
-Wdeclaration-after-statement
-Wdisabled-optimization
-Wfloat-equal
-Wformat=2
Expand Down

0 comments on commit 44db310

Please sign in to comment.