We recommend using Visual Studio 2017

Compiler Warning (level 1) C4440

 

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

calling convention redefinition from 'calling_convention1' to 'calling_convention2' ignored

An attempt to change the calling convention was ignored.

The following sample generates C4440:

// C4440.cpp  
// compile with: /W1 /LD /clr  
typedef void __clrcall F();  
typedef F __cdecl *PFV;   // C4440  

Show: