Compiler Warning (level 1) C4666

'declaration' : function differs from 'declaration' only by calling convention

This warning occurs when the calling convention of an explicit specialization of a function template is different from that of the function template. For example:

template<class T> void __cdecl f(const T &) { }
template<> void __stdcall f(const int &) { } //warning