]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
qlxgbe: add GCC_MS_EXTENSIONS to CFLAGS to make old base GCC happy
authoravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 11 Mar 2017 15:21:34 +0000 (15:21 +0000)
committeravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 11 Mar 2017 15:21:34 +0000 (15:21 +0000)
commit62de88fc4288b68c4d16c93ade1d0a831448bb50
tree32433eef24b489a5cdd739603a06d3844ebb85ce
parent3a4eb2a091b68eac401563138c5b741fa3072b7f
qlxgbe: add GCC_MS_EXTENSIONS to CFLAGS to make old base GCC happy

The module uses unnamed structure and union fields and base GCC in
stable/10 doesn't like it.
I think that that is a C11 feature, so it is courteous of more modern
compilers to not complain about it when compiling in C99 mode.

This is a direct commit as the change is not required in head.

Approved by: davidcs

git-svn-id: svn://svn.freebsd.org/base/stable/10@315069 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/modules/qlxgbe/Makefile