Bring in the shared branch with the kbuild tree to enable '-fms-extensions' for 6.19. Further namespace cleanup work requires this extension.
Showing the changes to scripts (1 of 269 files). Show all
Unified · Split
| @@ -28,8 +28,10 @@ endif · 27 unmodified lines | |||
| 28 | KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds | 28 | KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds |
| 29 | 29 | ||
| 30 | ifdef CONFIG_CC_IS_CLANG | 30 | 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. | ||
| 32 | KBUILD_CFLAGS += -Wno-gnu | 33 | KBUILD_CFLAGS += -Wno-gnu |
| 34 | KBUILD_CFLAGS += -Wno-microsoft-anon-tag | ||
| 33 | 35 | ||
| 34 | # Clang checks for overflow/truncation with '%p', while GCC does not: | 36 | # Clang checks for overflow/truncation with '%p', while GCC does not: |
| 35 | # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111219 | 37 | # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111219 |