[Gtkradiant] [Bug 684] Cleanup pnp NULL Typecasts in plugins/imagepng/plugin.cpp

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Mon, 14 Apr 2003 06:34:44 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=684

ttimo@idsoftware.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From ttimo@idsoftware.com  2003-04-14 06:34 -------
it broke the build on some machines
specifically, the holy box and LordHavoc's box

I'm not sure which libpng-dev package this should depend on? In any case we
might need a png-config --cflags and stuff?

Commenting out from the build again

g++ -g -D_DEBUG -I../STLport/stlport -fno-exceptions -fno-rtti -fPIC
`glib-config --cflags` `xml2-config --cflags` -I/usr/X11R6/include -Iinclude
-Ilibs -c Debug-gcc2/plugins/imagepng/plugin.cpp -o
Debug-gcc2/plugins/imagepng/plugin.o
Debug-gcc2/plugins/imagepng/plugin.cpp: In function `void LoadImage(const char
*, unsigned char **, int *, int *)':
Debug-gcc2/plugins/imagepng/plugin.cpp:141: `png_voidp_NULL' undeclared (first
use this function)
Debug-gcc2/plugins/imagepng/plugin.cpp:141: (Each undeclared identifier is
reported only once
Debug-gcc2/plugins/imagepng/plugin.cpp:141: for each function it appears in.)
Debug-gcc2/plugins/imagepng/plugin.cpp:152: `png_infopp_NULL' undeclared (first
use this function)
cons: *** [Debug-gcc2/plugins/imagepng/plugin.o] Error 1