pngnq Activity
Brought to you by:
dr_saturn
Include <string.h> in rwpng.c
Nearly 10 years late now to this issue, but on platforms where link order matters (and probably only with older compilers - maybe more recent compilers mitigate this somehow), the issue is that the libpng link flags are specified too early in the link step. In the example provided in this report, the invocation is: gcc libpng-config --I_opts -Wall --pedantic -std=gnu99 -g -O2 libpng-config - -ldflags -lz -o pngnq.exe pngnq.o neuquant32.o rwpng.o -lz The piece with libpng-config --ldflags should go...
pngcomp.c: multiple resource leaks ?