cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Help on usinig Curl on vxwrks

From: Igor Novoseltsev <IgorN_at_radvision.com>
Date: Sun, 7 Jun 2009 16:11:03 +0300

> > #ifdef _WRS_KERNEL
> > ..
> > extern int open (const char *, int, int);
> > ..
> > #else
> > ..
> > extern int open (const char *, int, ...);
> > ..
> > #endif /* _WRS_KERNEL */
>
> Doesn't _WRS_KERNEL imply that you're building something as part of
the
> kernel? And most likely libcurl is not part of that?
>
> Then why doesn't the 2-arg version work just fine?

Has no answer...
As you can see in the lib/Makefile.vxworks I didn't specify kernel
option,
But the compiler still asks for 3-argument prototype.
Received on 2009-06-07