#39 compilation fails with libpng 1.4

closed
devel (22)
5
2012-08-22
2010-02-15
Anonymous
No

I'm not sure what the reason is, the error is a bit nested within macros.

gcc -c -I/usr/local/include -I. -g -O3 -fomit-frame-pointer -Wall -DPNG_USE_PNGGCCRD pngcrush.c
pngcrush.c:1249: error: expected declaration specifiers or '...' before '' token
pngcrush.c:1249: error: expected ')' before '<<' token
pngcrush.c:1249: error: expected ')' before '+' token
pngcrush.c: In function 'main':
pngcrush.c:3447: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
make:
** [pngcrush.o] Error 1

Discussion

  • Please try pngcrush-1.7.9

    Glenn

     
  • Fixed in pngcrush-1.7.10.