mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng15] Fixed compiler warnings with Intel and MSYS compilers.
The logical shift fix for Microsoft Visual C is required by other compilers, so this enables that fix for all compilers when using compile-time constants. Under MSYS 'byte' is a name declared in a system header file, so we changed the name of a local variable to avoid the warnings that result.
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
cb75699dff
commit
92ef313c77
9
ANNOUNCE
9
ANNOUNCE
@@ -1,5 +1,5 @@
|
||||
|
||||
Libpng 1.5.6rc03 - October 27, 2011
|
||||
Libpng 1.5.6rc03 - October 28, 2011
|
||||
|
||||
This is not intended to be a public release. It will be replaced
|
||||
within a few weeks by a public version or by another test version.
|
||||
@@ -96,8 +96,13 @@ Version 1.5.6rc02 [October 27, 2011]
|
||||
Added LSR() macro to defend against buggy compilers that evaluate non-taken
|
||||
code branches and complain about out-of-range shifts.
|
||||
|
||||
Version 1.5.6rc03 [October 27, 2011]
|
||||
Version 1.5.6rc03 [October 28, 2011]
|
||||
Renamed the LSR() macro to PNG_LSR() and added PNG_LSL() macro.
|
||||
Fixed compiler warnings with Intel and MSYS compilers. The logical shift
|
||||
fix for Microsoft Visual C is required by other compilers, so this
|
||||
enables that fix for all compilers when using compile-time constants.
|
||||
Under MSYS 'byte' is a name declared in a system header file, so we
|
||||
changed the name of a local variable to avoid the warnings that result.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
|
||||
(subscription required; visit
|
||||
|
||||
Reference in New Issue
Block a user