History

Merge branch 'kbuild-6.19.fms.extension'

Bring in the shared branch with the kbuild tree to enable '-fms-extensions' for 6.19. Further namespace cleanup work requires this extension.

Christian Brauner committed 1 year ago

Commit a67ee4e2 parents ae901e5 3c60b0b269 files · +2610 −1565Browse files

Showing the changes to scripts (1 of 269 files). Show all

Unified · Split

scripts/Makefile.extrawarn+3−1
@@ -28,8 +28,10 @@ endif · 27 unmodified lines
2828 KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds
2929
3030 ifdef CONFIG_CC_IS_CLANG
31−# The kernel builds with '-std=gnu11' so use of GNU extensions is acceptable.
31+# The kernel builds with '-std=gnu11' and '-fms-extensions' so use of GNU and
32+# Microsoft extensions is acceptable.
3233 KBUILD_CFLAGS += -Wno-gnu
34+KBUILD_CFLAGS += -Wno-microsoft-anon-tag
3335
3436 # Clang checks for overflow/truncation with '%p', while GCC does not:
3537 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111219