[PATCH 10/14] [Msvcrt*]: implemented _vc(w)printf

Eric Pouech eric.pouech at orange.fr
Tue Nov 9 03:49:17 CST 2010


va_copy only exists in C99
wine requires C89 only
A+

2010/11/8 David Laight <david at l8s.co.uk>

>
> On Wed, Nov 03, 2010 at 10:53:55AM +0100, Alexandre Julliard wrote:
> > Eric Pouech <eric.pouech at orange.fr> writes:
> >
> > > +int CDECL _vcprintf(const char* format, __ms_va_list xvalist)
> > >  {
> > >    char buf[2048], *mem = buf;
> > >    int written, resize = sizeof(buf), retval;
> > > -  __ms_va_list valist;
> > > +  __ms_va_list  valist = xvalist;
> >
> > You can't copy a valist. This needs to be integrated properly with the
> > other printf functions.
>
> Well, you can if you can find a va_copy() function .....
>
>        David
>
> --
> David Laight: david at l8s.co.uk
>
>
>
>


-- 
-- 
Eric Pouech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20101109/641d0a9f/attachment.htm>


More information about the wine-devel mailing list