diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-25 08:51:04 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-25 08:51:04 -0600 |
commit | de5c932283c8ff0484ecfc2fb7d05490ab540133 (patch) | |
tree | 07f03509a605fc5e4ec448bd3709705eb06cd51b /pngmem.c | |
parent | 3b673e0fb0b96d0ca8aa162276e4848809105ea4 (diff) | |
download | libpng-de5c932283c8ff0484ecfc2fb7d05490ab540133.tar.gz |
[master] Disabled the new pedantic warnings
about deprecated function use and deprecated structure access unless the
user defines PNG_PEDANTIC_WARNINGS. Added "#define PNG_NO_PEDANTIC_WARNINGS"
in the libpng source files. Removed "-DPNG_CONFIGURE_LIBPNG" from the
makefiles and projects since the warnings no longer depend on this.
Diffstat (limited to 'pngmem.c')
-rw-r--r-- | pngmem.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* pngmem.c - stub functions for memory allocation * - * Last changed in libpng 1.2.37 [June 4, 2009] + * Last changed in libpng 1.2.41 [November 25, 2009] * Copyright (c) 1998-2009 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -18,6 +18,7 @@ */ #define PNG_INTERNAL +#define PNG_NO_PEDANTIC_WARNINGS #include "png.h" #if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED) |