id summary reporter owner description type status priority component version resolution keywords cc game 10918 AMIGAOS4: SDL1 builds break in png with compiler error raziel- raziel- "Latest sources C++ backends/graphics/opengl/opengl-graphics.o In file included from ./image/png.h:36, from backends/graphics/opengl/opengl-graphics.cpp:48: ./image/image_decoder.h:37:11: error: 'namespace Image { }' redeclared as different kind of symbol namespace Image { ^~~~~ In file included from /SDK/include/include_h/intuition/intuitionbase.h:24, from /SDK/include/include_h/proto/intuition.h:17, from /SDK/local/newlib/include/SDL/SDL_syswm.h:55, from ./backends/platform/sdl/sdl-sys.h:147, from ./backends/graphics/opengl/opengl-sys.h:30, from ./backends/graphics/opengl/opengl-graphics.h:26, from backends/graphics/opengl/opengl-graphics.cpp:24: /SDK/include/include_h/intuition/intuition.h:754:8: note: previous declaration 'struct Image' struct Image ^~~~~ In file included from backends/graphics/opengl/opengl-graphics.cpp:48: ./image/png.h:47:11: error: 'namespace Image { }' redeclared as different kind of symbol namespace Image { ^~~~~ In file included from /SDK/include/include_h/intuition/intuitionbase.h:24, from /SDK/include/include_h/proto/intuition.h:17, from /SDK/local/newlib/include/SDL/SDL_syswm.h:55, from ./backends/platform/sdl/sdl-sys.h:147, from ./backends/graphics/opengl/opengl-sys.h:30, from ./backends/graphics/opengl/opengl-graphics.h:26, from backends/graphics/opengl/opengl-graphics.cpp:24: /SDK/include/include_h/intuition/intuition.h:754:8: note: previous declaration 'struct Image' struct Image ^~~~~ backends/graphics/opengl/opengl-graphics.cpp: In member function 'bool OpenGL::OpenGLGraphicsManager::saveScreenshot(const Common::String&) const': backends/graphics/opengl/opengl-graphics.cpp:1225:16: error: 'writePNG' is not a member of 'Image' return Image::writePNG(out, data, true); ^~~~~~~~ gmake: *** [backends/graphics/opengl/opengl-graphics.o] Error 1 gcc (adtools build 8.3.0) 8.3.0 AmigaOS4 - PPC - SDL - BE" defect closed normal Port: AmigaOS4 invalid