comparison src/ChangeLog @ 112090:1d9002cd082f

More elegant solution for accessing png_ptr without GCC warnings. image.c (png_jmpbuf): New macro. (my_png_error, png_load): Use it instead of #ifdef'ing according to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 31 Dec 2010 18:33:40 +0200
parents 704900942a8e
children 40af77a50adc 376148b31b5e
comparison
equal deleted inserted replaced
112089:091ddbfb219d 112090:1d9002cd082f
3 * image.c <Qlibpng_version>: New variable. 3 * image.c <Qlibpng_version>: New variable.
4 (syms_of_image): Intern and staticpro it. Set its value to the 4 (syms_of_image): Intern and staticpro it. Set its value to the
5 version of PNG library we were compiled with. 5 version of PNG library we were compiled with.
6 (my_png_error, png_load): Avoid GCC warnings about direct access 6 (my_png_error, png_load): Avoid GCC warnings about direct access
7 to png_ptr->jmpbuf. (Bug#7716) 7 to png_ptr->jmpbuf. (Bug#7716)
8 (png_jmpbuf): New macro.
9 (my_png_error, png_load): Use it instead of #ifdef'ing according
10 to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
8 11
9 2010-12-27 Stefan Monnier <monnier@iro.umontreal.ca> 12 2010-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
10 13
11 * .gdbinit (xgetptr): Fix the union+lsb case. 14 * .gdbinit (xgetptr): Fix the union+lsb case.
12 (xbacktrace): Fix the union case. 15 (xbacktrace): Fix the union case.