gwen_cast build errors on Linux

31 views
Skip to first unread message

Robert Norris

unread,
Apr 2, 2012, 7:00:59 AM4/2/12
to gwen-d...@googlegroups.com
==== Building GWEN-DLL (release) ====
Creating ../../../lib/linux/gmake
Creating obj/Release/GWEN-DLL
events.cpp
ToolTip.cpp
In file included from ../../../include/Gwen/ToolTip.h:12:0,
                 from ../../../src/ToolTip.cpp:8:
../../../include/Gwen/Controls/Base.h: In member function ‘T* Gwen::Controls::Base::FindChild(const String&, bool)’:
../../../include/Gwen/Controls/Base.h:84:13: error: ‘gwen_cast’ was not declared in this scope
../../../include/Gwen/Controls/Base.h:84:24: error: expected primary-expression before ‘>’ token
make[1]: *** [obj/Release/GWEN-DLL/ToolTip.o] Error 1
make: *** [GWEN-DLL] Error 2

It looks to me like gwen_cast is not declared early enough for the things that need it. Moving it to the top of Base.h just causes trouble elsewhere. I'm guessing that precompiled headers under VS masks this.

I can try to put a patch together if you like, but its likely you can fix it quite quickly. Let me know!

Cheers,
Rob.

Garry Newman

unread,
Apr 2, 2012, 7:06:54 AM4/2/12
to gwen-d...@googlegroups.com
I noticed this too - I'll put a fix together

garry

Robert Norris

unread,
Apr 4, 2012, 7:41:22 PM4/4/12
to gwen-d...@googlegroups.com
Got it, looking good. Cheers.
Reply all
Reply to author
Forward
0 new messages