This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: libungif doesn't build with GCC 3.0


Frédéric L. W. Meunier <0@pervalidus.net> writes:

> Hi. I'm using libungif CVS. Here's the result:
> 
> gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/CVS/libungif/lib -I.. -O2 -Wp,-MD,.deps/qprintf.pp -c
> /usr/local/src/CVS/libungif/lib/qprintf.c  -fPIC -DPIC -o qprintf.o
> /usr/local/src/CVS/libungif/lib/qprintf.c: In function `GifQprintf':
> /usr/local/src/CVS/libungif/lib/qprintf.c:42: `va_start' used in function with fixed args

That's a bug in libungif, try to change:
void GifQprintf(int va_alist)

to void GifQprintf(va_list va_alist)

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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