Created
July 21, 2013 01:46
-
-
Save alecmce/6047151 to your computer and use it in GitHub Desktop.
Currently https://github.com/alecmce/dust fails to compile because CollectionMap's macro pulls in the CollectionMapping class, which is an 'incomplete type' during the macro compilation pass. Does anyone have an idea how to fix this?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake make:ipad | |
<SNIP/> | |
./src/dust/gui/GUIConfig.cpp:106:83: error: member access into incomplete type 'dust::collections::control::CollectionMapping_obj' | |
this->collections->mapDefined(Array_obj< int >::__new().Add((int)3).Add((int)4))->__Field(HX_CSTRING("toListeners"),true)(hx::ClassOf< ::dust::gui::systems::UIRootManager >()); | |
^ | |
include/dust/collections/control/CollectionMap.h:14:1: note: forward declaration of 'dust::collections::control::CollectionMapping_obj' | |
HX_DECLARE_CLASS3(dust,collections,control,CollectionMapping) | |
^ | |
/usr/lib/haxe/lib/hxcpp/3,0,2//include/hx/Macros.h:445:62: note: expanded from macro 'HX_DECLARE_CLASS3' | |
#define HX_DECLARE_CLASS3(ns3,ns2,ns1,klass) namespace ns3 { HX_DECLARE_CLASS2(ns2,ns1,klass) } | |
^ | |
/usr/lib/haxe/lib/hxcpp/3,0,2//include/hx/Macros.h:444:58: note: expanded from macro 'HX_DECLARE_CLASS2' | |
#define HX_DECLARE_CLASS2(ns2,ns1,klass) namespace ns2 { HX_DECLARE_CLASS1(ns1,klass) } | |
^ | |
/usr/lib/haxe/lib/hxcpp/3,0,2//include/hx/Macros.h:443:54: note: expanded from macro 'HX_DECLARE_CLASS1' | |
#define HX_DECLARE_CLASS1(ns1,klass) namespace ns1 { HX_DECLARE_CLASS0(klass) } | |
^ | |
/usr/lib/haxe/lib/hxcpp/3,0,2//include/hx/Macros.h:441:8: note: expanded from macro 'HX_DECLARE_CLASS0' | |
class klass##_obj; \ | |
^ | |
<scratch space>:67:1: note: expanded from here | |
CollectionMapping_obj | |
^ | |
1 error generated. | |
Called from ? line 1 | |
Called from BuildTool.hx line 1529 | |
Called from BuildTool.hx line 673 | |
Called from a C function | |
Called from BuildTool.hx line 708 | |
Called from BuildTool.hx line 842 | |
Called from BuildTool.hx line 939 | |
Uncaught exception - Error in building thread | |
Error: Build failed | |
make: *** [build-haxe-armv7] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment