summaryrefslogtreecommitdiff
path: root/pngerror.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-11-25 08:51:04 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-11-25 08:51:04 -0600
commitde5c932283c8ff0484ecfc2fb7d05490ab540133 (patch)
tree07f03509a605fc5e4ec448bd3709705eb06cd51b /pngerror.c
parent3b673e0fb0b96d0ca8aa162276e4848809105ea4 (diff)
downloadlibpng-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 'pngerror.c')
-rw-r--r--pngerror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pngerror.c b/pngerror.c
index 1d72dbff7..2cbf5e09c 100644
--- a/pngerror.c
+++ b/pngerror.c
@@ -17,6 +17,7 @@
*/
#define PNG_INTERNAL
+#define PNG_NO_PEDANTIC_WARNINGS
#include "png.h"
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)