This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] common-defs.h: include <stdarg.h> before <stdio.h>


> > When trying to build gdbserver on ppc-lynx178, the compiler reports
> > while trying to compile gdbserver/ax.c that vsprintf is not declared.
> > Looking at my C99 reference manual (a draft), I see the following
> > synopsis:
> > 
> >     #include <stdarg.h>
> >     #include <stdio.h>
> >     int vsprintf(char * restrict s, [etc]);
> 
> This says the same:
> 
>  http://pubs.opengroup.org/onlinepubs/009695399/functions/vfprintf.html
> 
> > OK to commit?
> 
> Definitely.

Thank you, Pedro. Now pushed.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]