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.

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

// the const qualifier cannot be applied to the
// function type FuncType
const FuncType f;   // C4180

Community Additions