Compiler Error C2063

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C2063.

identifier' : not a function

The identifier is used as a function but not declared as a function.

The following sample generates C2063:

// C2063.c  
int main() {  
   int i, j;  
   j = i();    // C2063, i is not a function  
}  

Possible resolution:

// C2063b.c  
int i() { return 0;}  
int main() {  
   int j;  
   j = i();  
}  

Show: