Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 658 Bytes

compiler-warning-level-2-c4094.md

File metadata and controls

29 lines (23 loc) · 658 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 2) C4094
Compiler Warning (level 2) C4094
11/04/2016
C4094
C4094
e68929fb-3a1c-4be7-920b-d5f79f534f99

Compiler Warning (level 2) C4094

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).