Compartir vía


Advertencia del compilador (nivel 1) C4180

se ha omitido el calificador aplicado al tipo de función porque no tiene ningún significado

Un calificador, como const, se aplica a un tipo de función definido por typedef.

Ejemplo

// 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