error VC9731: Call to function 'printf', which has variable arguments, is not supported.

Feb 26, 2013 at 11:48 AM
Hi all,

can anyone please help me with this error. I am not sure how can I verify functions like printf, etc.
int errflg;

void Error()
_(writes &errflg)
{

    printf ("*ERROR* \n");
    errflg = TRUE; 
} 
VCC says: error VC9731: Call to function 'printf', which has variable arguments, is not supported.
Exiting with 3 (1 error(s).)
=== Verification failed. ===

Thanks for answer.