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 /c
typedef int FuncType(void);
// the const qualifier cannot be applied to the
// function type FuncType
const FuncType f; // C4180
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for