HomeFreeBSD

qlxgbe: add GCC_MS_EXTENSIONS to CFLAGS to make old base GCC happy

Description

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

Details

Provenance
avgAuthored on
Parents
rS315068: revert r314862, use of GCC_MS_EXTENSIONS in qlxgbe
Branches
Unknown
Tags
Unknown