[SM-Grimoire-Bugs] [Bug 14032] New: xmoto fails cast at DrawLib

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sat Oct 6 17:32:01 EDT 2007


http://bugs.sourcemage.org/show_bug.cgi?id=14032

           Summary: xmoto fails cast at DrawLib
           Product: Codex
           Version: z-rejected grimoire
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: z-rejected grimoire
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: briareus at gmail.com


DrawLib.o `test -f 'drawlib/DrawLib.cpp' || echo './'`drawlib/DrawLib.cpp; \
        then mv -f ".deps/DrawLib.Tpo" ".deps/DrawLib.Po"; else rm -f
".deps/DrawLib.Tpo"; exit 1; fi
drawlib/DrawLibSDLgfx.h:158: error: ISO C++ forbids declaration of 'PolyDraw'
with no type
drawlib/DrawLibSDLgfx.h:158: error: expected ';' before '*' token
drawlib/DrawLib.cpp: In static member function 'static DrawLib*
DrawLib::DrawLibFromName(std::string)':
drawlib/DrawLib.cpp:50: error: cannot allocate an object of abstract type
'DrawLibSDLgfx'
drawlib/DrawLibSDLgfx.h:24: note:   because the following virtual functions are
pure within 'DrawLibSDLgfx':
drawlib/DrawLib.h:130: note:    virtual void DrawLib::init(unsigned int,
unsigned int, unsigned int, bool, Theme*)
drawlib/DrawLib.h:174: note:    virtual void DrawLib::setClipRect(int, int,
unsigned int, unsigned int)
drawlib/DrawLib.h:197: note:    virtual void DrawLib::endDrawKeepProperties()
drawlib/DrawLib.h:198: note:    virtual void DrawLib::removePropertiesAfterEnd()
drawlib/DrawLib.cpp:61: error: cannot allocate an object of abstract type
'DrawLibSDLgfx'
drawlib/DrawLibSDLgfx.h:24: note:   since type 'DrawLibSDLgfx' has pure virtual
functions
make[1]: *** [DrawLib.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/src/xmoto-0.3.3/src'
make: *** [all-recursive] Error 1
Running make with 2 jobs failed. Attempt to run with a single job? [y] 
Making all in src
make[1]: Entering directory `/usr/src/xmoto-0.3.3/src'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmoto\" -D
VERSION=\"0.3.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_
H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DXMOTO_LITTLE_ENDIAN=1 -DHAVE_SQLITE3_H=1 -DHAVE_LIBSQLITE3=1 
-DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBBZ2=1 -DHAVE_LIBGLU=1
-DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_PTHREAD=1 -DHA
VE_LIBSDL_GFX=1 -DHAVE_LUA_H=1 -DHAVE_LIBCURL=1 -DHAVE_VISIBILITY=1
-DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_ST
DLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1
-DINTDIV0_RAISES_SIGFPE=1 -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_UNSIGNED_LONG_
LONG_INT=1 -DHAVE_UNSIGNED_LONG_LONG=1 -DHAVE_UINTMAX_T=1 -DHAVE_INTTYPES_H=1
-DUSE_POSIX_THREADS=1 -DUSE_POSIX_THREADS_WEAK=1 -DHAVE_PTHREAD_
RWLOCK=1 -DHAVE_PTHREAD_MUTEX_RECURSIVE=1 -DHAVE_BUILTIN_EXPECT=1
-DHAVE_ARGZ_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHA
VE_SYS_PARAM_H=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUID=1
-DHAVE_GETGID=1 -DHAVE_GETUID=1 -DHAVE_MEMPCPY=1 -DHAVE_MUNMAP=1 -DHAVE_STP
CPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1 -DHAVE_TSEARCH=1
-DHAVE_ARGZ_COUNT=1 -DHAVE_ARGZ_STRINGIFY=1 -DHAVE_ARGZ_NEXT=1 -DH
AVE___FSETLOCKING=1 -DHAVE_DECL_FEOF_UNLOCKED=1 -DHAVE_DECL_FGETS_UNLOCKED=1
-DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_NL_LOCALE_NAME=1 -DHAVE_LONG
_LONG_INT=1 -DHAVE_LONG_DOUBLE=1 -DHAVE_WCHAR_T=1 -DHAVE_WINT_T=1
-DHAVE_INTMAX_T=1 -DHAVE_POSIX_PRINTF=1 -DHAVE_STDINT_H=1 -DHAVE_STDINT_H=1 
-DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ASPRINTF=1
-DHAVE_FWPRINTF=1 -DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -
DHAVE_SNPRINTF=1 -DHAVE_WCSLEN=1 -DHAVE_DECL__SNPRINTF=0
-DHAVE_DECL__SNWPRINTF=0 -DHAVE_DECL_GETC_UNLOCKED=1 -DHAVE_LANGINFO_CODESET=1
-DHAVE
_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I. -I.   
-DNOMMGR -w -DGAMEDATADIR=\"/usr/share/games/xmoto\" -DLOCALESDIR
=\"/usr/share/locale\" -DALLOW_ZOOMING=1  -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -DUSE_OPENGL=1 -DUSE_SDLGFX=1 -D'SVN_REV=""' -O -mar
ch=prescott -pipe -O3 -O3 -march=prescott -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -MT svn_version.o -MD -MP -MF ".deps/svn_version.Tpo
" -c -o svn_version.o svn_version.cpp; \
        then mv -f ".deps/svn_version.Tpo" ".deps/svn_version.Po"; else rm -f
".deps/svn_version.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmoto\" -D
VERSION=\"0.3.3\" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_
H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DXMOTO_LITTLE_ENDIAN=1 -DHAVE_SQLITE3_H=1 -DHAVE_LIBSQLITE3=1 
-DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBBZ2=1 -DHAVE_LIBGLU=1
-DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_PTHREAD=1 -DHA
VE_LIBSDL_GFX=1 -DHAVE_LUA_H=1 -DHAVE_LIBCURL=1 -DHAVE_VISIBILITY=1
-DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_ST
DLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1
-DINTDIV0_RAISES_SIGFPE=1 -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_UNSIG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 -DHAVE_LANGINFO_CODESET=1
-DHAVE
_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I. -I.   
-DNOMMGR -w -DGAMEDATADIR=\"/usr/share/games/xmoto\" -DLOCALESDIR
=\"/usr/share/locale\" -DALLOW_ZOOMING=1  -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -DUSE_OPENGL=1 -DUSE_SDLGFX=1 -D'SVN_REV=""' -O -mar
ch=prescott -pipe -O3 -O3 -march=prescott -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -MT DrawLib.o -MD -MP -MF ".deps/DrawLib.Tpo" -c -o 
DrawLib.o `test -f 'drawlib/DrawLib.cpp' || echo './'`drawlib/DrawLib.cpp; \
        then mv -f ".deps/DrawLib.Tpo" ".deps/DrawLib.Po"; else rm -f
".deps/DrawLib.Tpo"; exit 1; fi
drawlib/DrawLibSDLgfx.h:158: error: ISO C++ forbids declaration of 'PolyDraw'
with no type
drawlib/DrawLibSDLgfx.h:158: error: expected ';' before '*' token
drawlib/DrawLib.cpp: In static member function 'static DrawLib*
DrawLib::DrawLibFromName(std::string)':
drawlib/DrawLib.cpp:50: error: cannot allocate an object of abstract type
'DrawLibSDLgfx'
drawlib/DrawLibSDLgfx.h:24: note:   because the following virtual functions are
pure within 'DrawLibSDLgfx':
drawlib/DrawLib.h:130: note:    virtual void DrawLib::init(unsigned int,
unsigned int, unsigned int, bool, Theme*)
drawlib/DrawLib.h:174: note:    virtual void DrawLib::setClipRect(int, int,
unsigned int, unsigned int)
drawlib/DrawLib.h:197: note:    virtual void DrawLib::endDrawKeepProperties()
drawlib/DrawLib.h:198: note:    virtual void DrawLib::removePropertiesAfterEnd()
drawlib/DrawLib.cpp:61: error: cannot allocate an object of abstract type
'DrawLibSDLgfx'
drawlib/DrawLibSDLgfx.h:24: note:   since type 'DrawLibSDLgfx' has pure virtual
functions
make[1]: *** [DrawLib.o] Error 1
make[1]: Leaving directory `/usr/src/xmoto-0.3.3/src'
make: *** [all-recursive] Error 1
 ! Problem Detected ! 
Creating compile log /var/log/sorcery/compile/xmoto-0.3.3.bz2 
View Compile log for xmoto-0.3.3? [n]

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the SM-Grimoire-Bugs mailing list