Compiler Warning (level 4) C4220 (Windows CE 5.0)

Send Feedback

varargs matches remaining parameters

Under the default Microsoft extensions (/Ze), a pointer to a function matches a pointer to a function with similar, but variable, arguments.

The following example shows how this message might occur.

int ( *pFunc1) ( int a, ... );
int ( *pFunc2) ( int a, int b);
if ( pFunc1 != pFunc2 ) {};  // warning

Such pointers do not match under ANSI compatibility (/Za).

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.