Compiler Warning (level 1) C4224
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Warning (level 1) C4224

Error Message

nonstandard extension used : formal parameter 'identifier' was previously defined as a type

The identifier was previously used as a typedef. This causes a warning under ANSI compatibility (/Za).


// C4224.cpp
// compile with: /Za /W1 /LD
typedef int I;
void func ( int I );  // C4224
© 2015 Microsoft