Hi guys need some help on wesnoth, tools/exploder_utils.cpp: In function 'void save_image(surface, const std::string&)': tools/exploder_utils.cpp:177: error: 'png_voidp_NULL' was not declared in this scope tools/exploder_utils.cpp:178: error: 'png_error_ptr_NULL' was not declared in this scope make[2]: *** [tools/exploder_utils.o] Error 1
affected codepart:
png_struct* png_ptr = png_create_write_struct
(PNG_LIBPNG_VER_STRING, (png_voidp)png_voidp_NULL,
png_error_ptr_NULL, png_error_ptr_NULL);
snip from changelog of 1.4 libpng
b. We removed the typecasted NULL definitions such as
#define png_voidp_NULL (png_voidp)NULL
If you used these in your application, just use NULL instead.
so what should i add?
thanks
greetings
tpowa
--
Tobias Powalowski
Archlinux Developer & Package Maintainer (tpowa)
http://www.archlinux.org
[email protected]
signature.asc
Description: This is a digitally signed message part.

