Compiler Warning (level 1) C4230

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Warning (level 1) C4230.

anachronism used : modifiers/qualifiers interspersed; qualifier ignored

Using a qualifier before a Microsoft modifier such as __cdecl is an outdated practice.

// C4230.cpp  
// compile with: /W1 /LD  
int __cdecl const function1();   // C4230 const ignored  

Show: