Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 653 Bytes

compiler-warning-level-1-c4224.md

File metadata and controls

22 lines (18 loc) · 653 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4224
Compiler Warning (level 1) C4224
11/04/2016
C4224
C4224
1531cae0-5040-49fd-b149-005bb5085391

Compiler Warning (level 1) C4224

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).

Example

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