Skip to content

Commit

Permalink
make: disable warning flag -Wdeclaration-after-statement (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored May 15, 2022
1 parent 62f755c commit 275e4df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ else()
-Wall
-Wbad-function-cast
-Wcast-align
-Wdeclaration-after-statement
-Wextra
-Wmissing-declarations
-Wmissing-prototypes
Expand Down
1 change: 0 additions & 1 deletion mk/re.mk
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ CFLAGS += -Wshadow
CFLAGS += -Waggregate-return
CFLAGS += -Wcast-align
CFLAGS += -Wold-style-definition
CFLAGS += -Wdeclaration-after-statement
CFLAGS += -Wvla # Avoid insecure variable-length arrays
ifeq ($(CC_NAME), clang)
CFLAGS += -Wshorten-64-to-32
Expand Down

0 comments on commit 275e4df

Please sign in to comment.