Skip to content

Commit

Permalink
be less strickt on C99
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Sep 6, 2024
1 parent e677bdf commit ad7a638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ endif
NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)

# warn about C99 declaration after statement
KBUILD_CFLAGS += -Wdeclaration-after-statement
#KBUILD_CFLAGS += -Wdeclaration-after-statement

# Variable Length Arrays (VLAs) should not be used anywhere in the kernel
KBUILD_CFLAGS += -Wvla
Expand Down

0 comments on commit ad7a638

Please sign in to comment.