Advertisement

svn trunk not compiling with gcc

Started by August 16, 2012 03:01 PM
0 comments, last by WitchLord 12 years, 3 months ago

[ 0%] Building CXX object CMakeFiles/Angelscript.dir/Users/quarnster/code/3rdparty/angelscript/sdk/angelscript/source/as_builder.cpp.o
In file included from /Users/quarnster/code/3rdparty/angelscript/sdk/angelscript/source/as_builder.h:43,
from /Users/quarnster/code/3rdparty/angelscript/sdk/angelscript/source/as_builder.cpp:40:
/Users/quarnster/code/3rdparty/angelscript/sdk/angelscript/source/as_symboltable.h: In member function 'void asCSymbolTable<ENTRY_TYPE>::BuildKey(const asSNameSpace*, const asCString&, asCString&) const':
/Users/quarnster/code/3rdparty/angelscript/sdk/angelscript/source/as_symboltable.h:527: error: invalid use of incomplete type 'const struct asSNameSpace'
/Users/quarnster/code/3rdparty/angelscript/sdk/angelscript/source/as_symboltable.h:60: error: forward declaration of 'const struct asSNameSpace'


Same error for multiple files. Just moving the definition of asSNameSpace into as_symboltable seemed to make it work.
Thanks for the heads up. I'll be sure to test the library on Linux before finishing the next release.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement