diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2016-12-26 19:56:53 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2016-12-26 19:56:53 -0600 |
commit | 4caddaafbb225d9615a33b7c734a6df194851851 (patch) | |
tree | aa98567488ff28a07ea9936c32860e81e34bc9eb | |
parent | 0b02a667cf005c22cbf8e78dbc903d1b93be0193 (diff) | |
download | libpng-4caddaafbb225d9615a33b7c734a6df194851851.tar.gz |
[libpng17] Update CHANGES and ANNOUNCE
-rw-r--r-- | ANNOUNCE | 6 | ||||
-rw-r--r-- | CHANGES | 6 | ||||
-rw-r--r-- | contrib/libtests/pngvalid.c | 12 |
3 files changed, 19 insertions, 5 deletions
@@ -1411,6 +1411,12 @@ Version 1.7.0beta84 [September 26, 2016] Version 1.7.0beta85 [December 27, 2016] Updated the documentation about CRC and ADLER32 handling. Quieted warnings from clang-3.8 in pngunknown.c and pngvalid.c. + Removed the use of a macro containing the pre-processor 'defined' + operator. It is unclear whether this is valid; a macro that + "generates" 'defined' is not permitted, but the use of the word + "generates" within the C90 standard seems to imply more than simple + substitution of an expression itself containing a well-formed defined + operation. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit @@ -5711,6 +5711,12 @@ Version 1.7.0beta84 [September 26, 2016] Version 1.7.0beta85 [December 27, 2016] Updated the documentation about CRC and ADLER32 handling. Quieted warnings from clang-3.8 in pngunknown.c and pngvalid.c. + Removed the use of a macro containing the pre-processor 'defined' + operator. It is unclear whether this is valid; a macro that + "generates" 'defined' is not permitted, but the use of the word + "generates" within the C90 standard seems to imply more than simple + substitution of an expression itself containing a well-formed defined + operation. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/contrib/libtests/pngvalid.c b/contrib/libtests/pngvalid.c index 1c45b615a..b0b75b94b 100644 --- a/contrib/libtests/pngvalid.c +++ b/contrib/libtests/pngvalid.c @@ -1,9 +1,8 @@ /* pngvalid.c - validate libpng by constructing then reading png files. * - * Last changed in libpng 1.6.26 [(PENDING RELEASE)] - * Copyright (c) 2014-2016 Glenn Randers-Pehrson - * Written by John Cunningham Bowler + * Last changed in libpng 1.6.27 [(PENDING RELEASE)] + * Copyright (c) 2014-2016 John Cunningham Bowler * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer @@ -4011,8 +4010,11 @@ check_interlace_type(int const interlace_type) # define do_own_interlace 1 #endif /* WRITE_INTERLACING tests */ -#define CAN_WRITE_INTERLACE\ - PNG_LIBPNG_VER >= 10700 || defined PNG_WRITE_INTERLACING_SUPPORTED +#if PNG_LIBPNG_VER >= 10700 || defined PNG_WRITE_INTERLACING_SUPPORTED +# define CAN_WRITE_INTERLACE 1 +#else +# define CAN_WRITE_INTERLACE 0 +#endif /* Do the same thing for read interlacing; this controls whether read tests do * their own de-interlace or use libpng. |