We recommend using Visual Studio 2017

Compiler Warning (level 1) C4230

 

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: