This documentation is archived and is not being maintained.

Compiler Warning (level 1) C4229

anachronism used : modifiers on data are ignored

Using a Microsoft modifier such as __cdecl on a data declaration is an outdated practice.

Example

// C4229.cpp
// compile with: /W1 /LD
int __cdecl counter;   // C4229 cdecl ignored
Show: