Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 omni-bot component fails to build on x86_64-linux

closed-fixed
ET-XreaL (17)
5
2011-08-08
2011-06-26
No

tried today a build from git

==== Building omnibot_et (release64) ====
Creating obj/x64/Release
gmByteCode.cpp
gmByteCodeGen.cpp
gmCodeGen.cpp
libs/gmsrc_ex/src/gm/gmCodeGen.cpp: In member function ‘bool gmCodeGenPrivate::GenStmtSwitch(const gmCodeTreeNode*, gmByteCodeGen*)’:
libs/gmsrc_ex/src/gm/gmCodeGen.cpp:988:12: warning: unused variable ‘end_of_stmt’
libs/gmsrc_ex/src/gm/gmCodeGen.cpp:1000:9: warning: unused variable ‘default_loc’
libs/gmsrc_ex/src/gm/gmCodeGen.cpp: In member function ‘bool gmCodeGenPrivate::GenExprConstant(const gmCodeTreeNode*, gmByteCodeGen*)’:
libs/gmsrc_ex/src/gm/gmCodeGen.cpp:1403:82: warning: dereferencing type-punned pointer will break strict-aliasing rules
gmCodeTree.cpp
gmCrc.cpp
gmDebug.cpp
In file included from libs/gmsrc_ex/src/binds/gmVec3Stack.h:6:0,
from libs/gmsrc_ex/src/gm/gmVariable.h:21,
from libs/gmsrc_ex/src/gm/gmMachine.h:53,
from libs/gmsrc_ex/src/gm/gmDebug.cpp:14:
libs/gmsrc_ex/src/3rdParty/mathlib/../mathlib/vector.h:62:0: warning: ignoring #pragma warning
In file included from libs/gmsrc_ex/src/gm/gmDebug.cpp:15:0:
libs/gmsrc_ex/src/gm/gmThread.h:988:1: warning: multi-line comment
In file included from libs/gmsrc_ex/src/gm/gmDebug.h:17:0,
from libs/gmsrc_ex/src/gm/gmDebug.cpp:12:
libs/gmsrc_ex/src/gm/gmHash.h: In static member function ‘static gmuint gmDefaultHasher::Hash(const void*)’:
libs/gmsrc_ex/src/gm/gmHash.h:175:30: error: cast from ‘const void*’ to ‘gmuint’ loses precision
In file included from libs/gmsrc_ex/src/gm/gmMachine.h:53:0,
from libs/gmsrc_ex/src/gm/gmDebug.cpp:14:
libs/gmsrc_ex/src/gm/gmVariable.h: In member function ‘gmptr gmObject::GetRef() const’:
libs/gmsrc_ex/src/gm/gmVariable.h:343:47: error: cast from ‘const gmObject*’ to ‘gmptr’ loses precision
In file included from libs/gmsrc_ex/src/gm/gmDebug.cpp:15:0:
libs/gmsrc_ex/src/gm/gmThread.h: In member function ‘void gmThread::PushString(gmStringObject*)’:
libs/gmsrc_ex/src/gm/gmThread.h:395:43: error: cast from ‘gmStringObject*’ to ‘gmptr’ loses precision
libs/gmsrc_ex/src/gm/gmThread.h: In member function ‘void gmThread::PushTable(gmTableObject*)’:
libs/gmsrc_ex/src/gm/gmThread.h:402:43: error: cast from ‘gmTableObject*’ to ‘gmptr’ loses precision
libs/gmsrc_ex/src/gm/gmThread.h: In member function ‘void gmThread::PushFunction(gmFunctionObject*)’:
libs/gmsrc_ex/src/gm/gmThread.h:409:43: error: cast from ‘gmFunctionObject*’ to ‘gmptr’ loses precision
libs/gmsrc_ex/src/gm/gmThread.h: In member function ‘gmStringObject* gmThread::PushNewString(const char*, int)’:
libs/gmsrc_ex/src/gm/gmThread.h:423:113: error: cast from ‘gmStringObject*’ to ‘gmptr’ loses precision
libs/gmsrc_ex/src/gm/gmThread.h: In member function ‘gmTableObject* gmThread::PushNewTable()’:
libs/gmsrc_ex/src/gm/gmThread.h:430:97: error: cast from ‘gmTableObject*’ to ‘gmptr’ loses precision
libs/gmsrc_ex/src/gm/gmThread.h: In member function ‘gmUserObject* gmThread::PushNewUser(void*, int)’:
libs/gmsrc_ex/src/gm/gmThread.h:437:113: error: cast from ‘gmUserObject*’ to ‘gmptr’ loses precision
make[1]: *** [obj/x64/Release/gmDebug.o] Errore 1
make: *** [omnibot_et] Errore 2

gcc 4.5.3 slackware64-current

Discussion

  • actually seems that in the latest release the gamemonkey engine should support 64bit targets, maybe omnibot people should take care of this.

     
    • status: open --> closed-fixed
     
  • latest git builds \o/

    # ls -1 bin64/
    etxmap
    etxreal
    etxreal-dedicated
    msvcp100.dll
    msvcr100.dll
    omnibot_et.so

    now, it's time for testing :)