From 191001e3a66cccd7c4b55f0b0e6cf13ec7f6f3c8 Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Mon, 27 Nov 2023 22:31:09 -0600 Subject: [PATCH] libpng warnings commented out. --- src/main.c | 2 +- thirdparty/SDL2_image/external/libpng/pngerror.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 2a62967c4..2eb463283 100644 --- a/src/main.c +++ b/src/main.c @@ -713,7 +713,7 @@ void showHeader(void) { // 00000000011111111112222222222333333333344444444445555555555666666666677777777778 // 12345678901234567890123456789012345678901234567890123456789012345678901234567890 utilSay(" ___ ___ _ _ ___ ___"); - utilSay("/ __|_ _| \\| |/ __| __| Somewhat Interactive Nostalgic Game Engine %s Beta 2", VERSION_STRING); + utilSay("/ __|_ _| \\| |/ __| __| Somewhat Interactive Nostalgic Game Engine %s Beta 3", VERSION_STRING); utilSay("\\__ \\| || .` | (_ | _| Copyright (c) 2006-%s Scott C. Duensing", COPYRIGHT_END_YEAR); utilSay("|___/___|_|\\_|\\___|___| https://KangarooPunch.com https://SingeEngine.com"); utilSay(""); diff --git a/thirdparty/SDL2_image/external/libpng/pngerror.c b/thirdparty/SDL2_image/external/libpng/pngerror.c index ec3a709b9..310ca852d 100644 --- a/thirdparty/SDL2_image/external/libpng/pngerror.c +++ b/thirdparty/SDL2_image/external/libpng/pngerror.c @@ -784,6 +784,7 @@ png_longjmp,(png_const_structrp png_ptr, int val),PNG_NORETURN) static void /* PRIVATE */ png_default_warning(png_const_structrp png_ptr, png_const_charp warning_message) { +/* #ifdef PNG_CONSOLE_IO_SUPPORTED # ifdef PNG_ERROR_NUMBERS_SUPPORTED if (*warning_message == PNG_LITERAL_SHARP) @@ -820,8 +821,9 @@ png_default_warning(png_const_structrp png_ptr, png_const_charp warning_message) fprintf(stderr, PNG_STRING_NEWLINE); } #else +*/ PNG_UNUSED(warning_message) /* Make compiler happy */ -#endif +//#endif PNG_UNUSED(png_ptr) /* Make compiler happy */ } #endif /* WARNINGS */