Adding “-fms-extensions” to CFLAGS enables a Microsoft extension to C: anonymous...
MOS_8502 @mos_8502@studio8502.ca
Adding “-fms-extensions” to CFLAGS enables a Microsoft extension to C: anonymous tagged struct and union members. For example:
struct foo {
struct bar; // note the tag but no name
uint64_t baz;
};
The declared struct here imports all members of struct bar into struct foo as if they were part of it.
I think this belongs in the C standard myself.