HomeFreeBSD

Globally enable -fms-extensions when building kernel with gcc, and remove

Description

Globally enable -fms-extensions when building kernel with gcc, and remove

this option from all modules that enable it theirselves.

In C mode -fms-extensions option enables anonymous structs and unions,

allowing us to use this C11 feature in kernel. Of course, clang supports
it without any extra options.

Reviewed by: dim

Details

Provenance
glebiusAuthored on
Reviewer
dim
Parents
rS278912: MFC r278739:
Branches
Unknown
Tags
Unknown

Event Timeline