[xiph-cvs] cvs commit: net sock.c

Michael Smith msmith at xiph.org
Mon Jul 7 19:35:20 PDT 2003



On Tuesday 08 July 2003 12:24, oddsock wrote:
> At 12:07 PM 7/8/2003 +1000, you wrote:
> >On Tuesday 08 July 2003 07:33, Brendan wrote:
> > > brendan     03/07/07 17:33:58
> > >
> > >   Modified:    .        sock.c
> > >   Log:
> > >   va_copy is undefined on windows
> > >
> > > +#define va_copy(ap1, ap2) ((ap1) = (ap2))
> >
> >This won't work on some windows compilers (where va_list is, I think, an
> >array).
> >
> >Mike
>
> with MSVC, va_list is a pointer (char * actually)...I'm not sure what it is
> under cygwin/gcc....so the question is, how many win32 compilers do we want
> to support, or is MSVC adequate ?

We generally support others (at least for vorbis and vorbis-tools). Notably, 
at least one of the other major commercial win32 compilers does NOT implement 
va_list as a pointer (I'm not sure which one).

Mike

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list