Hi there,
Does anyone knows why there is an compile error “parse error before ‘…’”
when compiling the following function using qcc ?
The compile command is :
qcc -v -Vgcc_ntox86 -c socket.c
and the function in file:
int SockPrintf(socket,format, …)
int socket;
char *format;
{
va_list ap;
char buf[8192];
va_start(ap, format);
vsprintf(buf, format, ap);
va_end(ap);
return SockWrite(socket, buf, strlen(buf));
}
Thanks,
Sangwoon