NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2467

illegal declaration of anonymous 'user-defined-type'

A nested user-defined type was declared. This is an error when compiling C source code with the ANSI compatibility option (/Za) enabled.

Example

int main()
{
   struct X
   {
      union { int i; };  // error, nested declaration
   };
   return 0;
}