This documentation is archived and is not being maintained.

Compiler Warning (level 2) C4094

Error Message

untagged 'token' declared no symbols

The compiler detected an empty declaration using an untagged structure, union, or class. The declaration is ignored.

Example

// C4094.cpp
// compile with: /W2
struct
{
};   // C4094

int main()
{
}

This condition generates an error under ANSI compatibility (/Za).

Show: