On Tue, Mar 07, 2017 at 03:43:49PM +0000, Andriy Gapon wrote:
A> Author: avg
A> Date: Tue Mar  7 15:43:49 2017
A> New Revision: 314862
A> URL: https://svnweb.freebsd.org/changeset/base/314862
A> 
A> Log:
A>   qlxgbe: add GCC_MS_EXTENSIONS to CFLAGS to make old base GCC happy
A>   
A>   The module uses unnamed structure and union fields and base GCC in
A>   stable/10 doesn't like it.
A>   I think that that is a C11 feature, so it is courteous of more modern
A>   compilers to not complain about it when compiling in C99 mode.

There are a lot of code in kernel, that uses anonymous structs and unions.
This feature is enabled globally. Why does this module need special treatment?

-- 
Totus tuus, Glebius.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to