We recommend using Visual Studio 2017

Compiler Warning (level 1) C4550

 

The latest version of this topic can be found at Compiler Warning (level 1) C4550.

expression evaluates to a function which is missing an argument list

A dereferenced pointer to a function is missing an argument list.

// C4550.cpp  
// compile with: /W1  
bool f()  
{  
   return true;  
}  
  
typedef bool (*pf_t)();  
  
int main()  
{  
   pf_t pf = f;  
   if (*pf) {}  // C4550  
   return 0;  
}  

Show: