Thread (7 messages) 7 messages, 4 authors, 2025-11-06

Re: [PATCH] kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS

From: Segher Boessenkool <hidden>
Date: 2025-11-05 13:45:47
Also in: linux-arm-kernel, linux-efi, linux-s390, lkml, llvm, loongarch

Hi!

On Sat, Nov 01, 2025 at 12:35:47PM -0400, Nathan Chancellor wrote:
There are many places within the kernel that use their own CFLAGS
instead of the main KBUILD_CFLAGS, meaning code written with the main
kernel's use of '-fms-extensions' in mind that may be tangentially
included in these areas will result in "error: declaration does not
declare anything" messages from the compiler.
Please fix such non-standard code then, instead?  The only (documented)
thing -fms-extensions does for C code is give meaning to something that
otherwise is a syntax error (and it is for a good reason!)


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help