Avviso del compilatore (livello 4) C4201
estensione non standard usata: struct/unione senza nome
In Estensioni Microsoft (/Ze) è possibile specificare una struttura senza un dichiaratore come membri di un'altra struttura o unione. Queste strutture generano un errore in compatibilità ANSI (/Za).
Esempio
// C4201.cpp
// compile with: /W4
struct S
{
float y;
struct
{
int a, b, c; // C4201
};
} *p_s;
int main()
{
}