Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 595 Bytes

compiler-warning-level-1-c4550.md

File metadata and controls

33 lines (27 loc) · 595 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4550
Compiler Warning (level 1) C4550
11/04/2016
C4550
C4550
f902b4ed-5f17-48ea-b693-92f4fb8c8054

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.

Example

// C4550.cpp
// compile with: /W1
bool f()
{
   return true;
}

typedef bool (*pf_t)();

int main()
{
   pf_t pf = f;
   if (*pf) {}  // C4550
   return 0;
}