Compiler Error C2619 (Windows CE 5.0)

Send Feedback

union 'union' : cannot have static member variable 'identifier'

A union member is declared static.

The following example shows ways this error might occur.

void func()
{
   union
   {
   static int j; // error, j is static
   int i;        // OK
   };
}

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.