2008-07-30, 22:13
hi
missing #include <cstring> in pngimage.cc
add #include <cstring> to pngimage.cc
please fix it in svn
vobie
Quote:make[6]: Entering directory `/MCE-MEDIACENTER/XBMC/xbmc/screensavers/rsxs-0.9/src/euphoria'
depbase=`echo ../common.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DPKGDATADIR=\"/usr/local/share/rsxs\" -I./.. -I../../lib -I/usr/include/libpng12 -Wall -funroll-loops -fPIC -Wall -MT ../common.o -MD -MP -MF "$depbase.Tpo" -c -o ../common.o ../common.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo ../color.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DPKGDATADIR=\"/usr/local/share/rsxs\" -I./.. -I../../lib -I/usr/include/libpng12 -Wall -funroll-loops -fPIC -Wall -MT ../color.o -MD -MP -MF "$depbase.Tpo" -c -o ../color.o ../color.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo ../pngimage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DPKGDATADIR=\"/usr/local/share/rsxs\" -I./.. -I../../lib -I/usr/include/libpng12 -Wall -funroll-loops -fPIC -Wall -MT ../pngimage.o -MD -MP -MF "$depbase.Tpo" -c -o ../pngimage.o ../pngimage.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
../pngimage.cc: In constructor ‘PNG:NG(const std:tring&, bool)’:
../pngimage.cc:147: error: ‘strerror’ is not a member of ‘std’
make[6]: *** [../pngimage.o] Fehler 1
missing #include <cstring> in pngimage.cc
add #include <cstring> to pngimage.cc
please fix it in svn
vobie