In a German forum user Bard reported a compiler warning for line 423 in pngrutil.c, that's about the PNG_IGNORE_ADLER32 option. Each option uses two bits in png_byte options, and there can be up to four options in this byte as far as pngstruct.h line 356 is concerned. But PNG_IGNORE_ADLER32 is 8 in line 3233 of png.h, or in other words, you apparently have more than 2*4 bits in this byte ;-)
Known bug, fixed in libpng-1.6.28
Thanks