Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 1) C4180

qualifier applied to function type has no meaning; ignored

A qualifier, such as const, is applied to a function type defined by typedef.

Example

// C4180.cpp
// compile with: /W1 /LD
typedef int *FuncType(void);

// the const qualifier cannot be applied to the
// function type FuncType
const FuncType f;   // C4180
Show:
© 2014 Microsoft