I’ts not working with watchsimulator
or watchos
, which is my use case:
Error: In file included from ./src/src/DependencyA.cpp:5:
include/src/DependencyA.h:54:3: error: found ‘<::’ after a template name which forms the digraph ‘<:’ (aka ‘[’) and a ‘:’, did you mean ‘< ::’?
HX_DO_RTTI_ALL;
^
/usr/local/lib/haxe/lib/hxcpp/4,2,1/include/hx/Macros.h:92:26: note: expanded from macro ‘HX_DO_RTTI_ALL’
static ::hx::ObjectPtr<::hx::Class_obj> __mClass;
^
In file included from ./src/src/DependencyA.cpp:5:
include/src/DependencyA.h:54:3: error: found ‘<::’ after a template name which forms the digraph ‘<:’ (aka ‘[’) and a ‘:’, did you mean ‘< ::’?
/usr/local/lib/haxe/lib/hxcpp/4,2,1/include/hx/Macros.h:93:19: note: expanded from macro ‘HX_DO_RTTI_ALL’
::hx::ObjectPtr<::hx::Class_obj > __GetClass() const { return __mClass; }
^
In file included from ./src/src/DependencyA.cpp:5:
include/src/DependencyA.h:54:3: error: found ‘<::’ after a template name which forms the digraph ‘<:’ (aka ‘[’) and a ‘:’, did you mean ‘< ::’?
/usr/local/lib/haxe/lib/hxcpp/4,2,1/include/hx/Macros.h:94:33: note: expanded from macro ‘HX_DO_RTTI_ALL’
inline static ::hx::ObjectPtr<::hx::Class_obj> &__SGetClass() { return __mClass; }
^
3 errors generated.
Error: Build failed
(But it works for: -D iphoneos
and -D simulator
)