mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[master] Added attribute definition (warnings) for MSC_VER >= 1300 in pngconf.h
This commit is contained in:
parent
8709982e22
commit
f0c2cc32b1
20
ANNOUNCE
20
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.4.6beta06 - March 19, 2011
|
Libpng 1.4.6beta07 - March 19, 2011
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
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.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -9,20 +9,20 @@ Files available for download:
|
|||||||
Source files with LF line endings (for Unix/Linux) and with a
|
Source files with LF line endings (for Unix/Linux) and with a
|
||||||
"configure" script
|
"configure" script
|
||||||
|
|
||||||
1.4.6beta06.tar.xz (LZMA-compressed, recommended)
|
1.4.6beta07.tar.xz (LZMA-compressed, recommended)
|
||||||
1.4.6beta06.tar.gz
|
1.4.6beta07.tar.gz
|
||||||
1.4.6beta06.tar.bz2
|
1.4.6beta07.tar.bz2
|
||||||
|
|
||||||
Source files with CRLF line endings (for Windows), without the
|
Source files with CRLF line endings (for Windows), without the
|
||||||
"configure" script
|
"configure" script
|
||||||
|
|
||||||
lp146b06.7z (LZMA-compressed, recommended)
|
lp146b07.7z (LZMA-compressed, recommended)
|
||||||
lp146b06.zip
|
lp146b07.zip
|
||||||
|
|
||||||
Other information:
|
Other information:
|
||||||
|
|
||||||
1.4.6beta06-README.txt
|
1.4.6beta07-README.txt
|
||||||
1.4.6beta06-LICENSE.txt
|
1.4.6beta07-LICENSE.txt
|
||||||
|
|
||||||
Changes since the last public release (1.4.5):
|
Changes since the last public release (1.4.5):
|
||||||
|
|
||||||
@ -53,6 +53,10 @@ version 1.4.6beta06 [March 19, 2011]
|
|||||||
Updated contrib/pngsuite/README to add the word "modify".
|
Updated contrib/pngsuite/README to add the word "modify".
|
||||||
Added the private PNG_UNUSED() macro definition in pngconf.h.
|
Added the private PNG_UNUSED() macro definition in pngconf.h.
|
||||||
|
|
||||||
|
version 1.4.6beta07 [March 19, 2011]
|
||||||
|
ifdef out mask arrays in pngread.c when interlacing is not supported.
|
||||||
|
Added attribute definition (warnings) for MSC_VER >= 1300 in pngconf.h
|
||||||
|
|
||||||
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
||||||
or to png-mng-implement at lists.sf.net (subscription required; visit
|
or to png-mng-implement at lists.sf.net (subscription required; visit
|
||||||
https://lists.sourceforge.net/lists/listinfo/png-mng-implement).
|
https://lists.sourceforge.net/lists/listinfo/png-mng-implement).
|
||||||
|
|||||||
4
CHANGES
4
CHANGES
@ -2765,6 +2765,10 @@ version 1.4.6beta06 [March 19, 2011]
|
|||||||
Updated contrib/pngsuite/README to add the word "modify".
|
Updated contrib/pngsuite/README to add the word "modify".
|
||||||
Added the private PNG_UNUSED() macro definition in pngconf.h.
|
Added the private PNG_UNUSED() macro definition in pngconf.h.
|
||||||
|
|
||||||
|
version 1.4.6beta07 [March 19, 2011]
|
||||||
|
ifdef out mask arrays in pngread.c when interlacing is not supported.
|
||||||
|
Added attribute definition (warnings) for MSC_VER >= 1300 in pngconf.h
|
||||||
|
|
||||||
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
||||||
or to png-mng-implement at lists.sf.net (subscription required; visit
|
or to png-mng-implement at lists.sf.net (subscription required; visit
|
||||||
https://lists.sourceforge.net/lists/listinfo/png-mng-implement).
|
https://lists.sourceforge.net/lists/listinfo/png-mng-implement).
|
||||||
|
|||||||
33
pngconf.h
33
pngconf.h
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* pngconf.h - machine configurable file for libpng
|
/* pngconf.h - machine configurable file for libpng
|
||||||
*
|
*
|
||||||
* libpng version 1.4.6beta06 - March 19, 2011
|
* libpng version 1.4.6beta07 - March 19, 2011
|
||||||
* For conditions of distribution and use, see copyright notice in png.h
|
* For conditions of distribution and use, see copyright notice in png.h
|
||||||
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
|
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
|
||||||
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
||||||
@ -1413,6 +1413,37 @@ typedef char FAR * FAR * FAR * png_charppp;
|
|||||||
# endif
|
# endif
|
||||||
# endif /* PNG_PRIVATE */
|
# endif /* PNG_PRIVATE */
|
||||||
# endif /* __GNUC__ */
|
# endif /* __GNUC__ */
|
||||||
|
|
||||||
|
# if defined(_MSC_VER) && (_MSC_VER >= 1300)
|
||||||
|
# ifndef PNG_USE_RESULT
|
||||||
|
# define PNG_USE_RESULT /* not supported */
|
||||||
|
# endif
|
||||||
|
# ifndef PNG_NORETURN
|
||||||
|
# define PNG_NORETURN __declspec(noreturn)
|
||||||
|
# endif
|
||||||
|
# ifndef PNG_PTR_NORETURN
|
||||||
|
# define PNG_PTR_NORETURN /* not supported */
|
||||||
|
# endif
|
||||||
|
# ifndef PNG_ALLOCATED
|
||||||
|
# define PNG_ALLOCATED __declspec(restrict)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* This specifically protects structure members that should only be
|
||||||
|
* accessed from within the library, therefore should be empty during
|
||||||
|
* a library build.
|
||||||
|
*/
|
||||||
|
# ifndef PNGLIB_BUILD
|
||||||
|
# ifndef PNG_DEPRECATED
|
||||||
|
# define PNG_DEPRECATED __declspec(deprecated)
|
||||||
|
# endif
|
||||||
|
# ifndef PNG_DEPSTRUCT
|
||||||
|
# define PNG_DEPSTRUCT __declspec(deprecated)
|
||||||
|
# endif
|
||||||
|
# ifndef PNG_PRIVATE
|
||||||
|
# define PNG_PRIVATE __declspec(deprecated)
|
||||||
|
# endif
|
||||||
|
# endif /* PNGLIB_BUILD */
|
||||||
|
# endif /* _MSC_VER */
|
||||||
#endif /* PNG_PEDANTIC_WARNINGS */
|
#endif /* PNG_PEDANTIC_WARNINGS */
|
||||||
|
|
||||||
#ifndef PNG_DEPRECATED
|
#ifndef PNG_DEPRECATED
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user