Expand Minimize
0 out of 1 rated this helpful - Rate this topic

Compiler Warning (level 1) C4180

Error Message

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 /c
typedef int *FuncType(void);

// the const qualifier cannot be applied to the
// function type FuncType
const FuncType f;   // C4180
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.