The function identifier is used in a context that requires trailing parentheses. This error also can be caused by omitting an equal sign (=) on a complex initialization.
int array1[] { 1, 2, 3 }; // C2054, missing =
Add the necessary equal sign (=) of the statement.
int array1[] = { 1, 2, 3 };
This article is a derivative work based on Compiler Error C2054 which is provided by MSDN Community Content - Visual C++.