Mark H Weaver <m...@netris.org> writes: > Leo Famulari <l...@famulari.name> writes: > >> On Thu, Jul 28, 2016 at 01:22:40PM -0400, Mark H Weaver wrote: >>> I will adapt my patch to the new version. >> >> Unfortunately, this new patch makes libgd fail to build from source on >> x86_64, like this: >> >> gdimagecopyresampled/basic_alpha.c: In function ‘main’: >> gdimagecopyresampled/basic_alpha.c:37:23: error: value computed is not used >> [-Werror=unused-value] >> FLT_EVAL_METHOD != 2 && >> gdAssertImageEqualsToFile("gdimagecopyresampled/basic_alpha_exp.png", copy); >> ^ >> cc1: all warnings being treated as errors >> Makefile:3120: recipe for target 'gdimagecopyresampled/basic_alpha.o' failed >> make[2]: *** [gdimagecopyresampled/basic_alpha.o] Error 1 >> make[2]: *** Waiting for unfinished jobs.... >> gdimagecopyresampled/bug00201.c: In function ‘main’: >> gdimagecopyresampled/bug00201.c:69:26: error: value computed is not used >> [-Werror=unused-value] >> FLT_EVAL_METHOD != 2 && >> gdAssertImageEqualsToFile("gdimagecopyresampled/bug00201_exp.png", img); >> ^ >> cc1: all warnings being treated as errors >> Makefile:3120: recipe for target 'gdimagecopyresampled/bug00201.o' failed > > Bah, sorry about that. I just pushed an updated patch that builds > successfully on x86_64 and i686, and hopefully on the others as well.
The build failed on armhf and mips64el, due to another warning->error that's unrelated to my patch. I pushed a possible fix to the 'wip-gd-fix' branch and asked hydra to build it. Mark