On Thursday, 03 March 2005 10:45, Andreas Jochens wrote:
> When building 'sng' on amd64 with gcc-4.0,
> I get the following error:
>
> if x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -MT
> sngd.o -MD -MP -MF ".deps/sngd.Tpo" \ -c -o sngd.o `test -f 'sngd.c'
> || echo './'`sngd.c; \
> then mv -f ".deps/sngd.Tpo" ".deps/sngd.Po"; \
> else rm -f ".deps/sngd.Tpo"; exit 1; \
> fi
> sngd.c:33: error: static declaration of 'png_ptr' follows non-static
> declaration sng.h:34: error: previous declaration of 'png_ptr' was
> here
> sngd.c:34: error: static declaration of 'info_ptr' follows non-static
> declaration sng.h:35: error: previous declaration of 'info_ptr' was
> here
>
> With the attached patch 'sng' can be compiled
> on amd64 using gcc-4.0.

Thanks for the report and patch. I will apply this, and send it upstream 
as well.

-- 
Wesley J. Landaker <[EMAIL PROTECTED]>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: pgppzBBoq3j2I.pgp
Description: PGP signature

Reply via email to