Compiler Error C2054 (Windows CE 5.0)

Send Feedback

expected '(' to follow 'identifier'

The function identifier is used in a context that requires trailing parentheses.

The following list shows possible causes for this error.

  • Omitting an equal sign (=) on a complex initialization.

The following example shows ways this error might occur.

int array1[] { 1, 2, 3 };   // error, missing =
int array2[] = { 1, 2, 3 }; // OK

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.