Compiler Warning (level 1) C4666 (Windows CE 5.0)

Windows CE 5.0
Send Feedback

'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.

The following example shows how this situation might occur.

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.