Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 620 Bytes

compiler-warning-level-1-c4180.md

File metadata and controls

25 lines (20 loc) · 620 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4180
Compiler Warning (level 1) C4180
11/04/2016
C4180
C4180
40c91bd4-37f1-4d59-a4f3-d5ddab68239b

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