We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I got this error when compiling my project using any hxcpp target.
Error: While running :xcrun --sdk macosx10.11 clang++ -I/Users/hyh/haxe_projects/starling-builder/demo/Export/mac64/cpp/obj/obj/darwin64/__pch/haxe -Iinclude -c -fvisibility=hidden -stdlib=libstdc++ -O2 -I/usr/local/lib/haxe/lib/hxcpp/3,3,49/include -DHX_MACOS -m64 -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-format-extra-args -Wno-bool-conversion -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=330 -x c++ -frtti -Wno-invalid-offsetof ./src/starling/display/BlendMode.cpp -o/Users/hyh/haxe_projects/starling-builder/demo/Export/mac64/cpp/obj/obj/darwin64/bb5c3b3d_BlendMode.o ./src/starling/display/BlendMode.cpp:208:130: error: no viable conversion from '::String' to 'const int' HXLINE( 168) modes->get(name).StaticCast< ::starling::display::BlendFactor >()->factors = ::Array_obj< Int >::__new(2)->init(0,sourceFactor)->init(1,destFactor); ^~~~~~~~~~~~ /usr/local/lib/haxe/lib/hxcpp/3,3,49/include/hxString.h:130:11: note: candidate function inline operator const char *() { return s; } ^ /usr/local/lib/haxe/lib/hxcpp/3,3,49/include/Array.h:482:48: note: passing argument to parameter 'inValue' here Array<ELEM> init(int inIndex, const ELEM &inValue) ^ 1 error generated.
Flash and html5 target works fine for me though. Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I got this error when compiling my project using any hxcpp target.
Error: While running :xcrun --sdk macosx10.11 clang++ -I/Users/hyh/haxe_projects/starling-builder/demo/Export/mac64/cpp/obj/obj/darwin64/__pch/haxe -Iinclude -c -fvisibility=hidden -stdlib=libstdc++ -O2 -I/usr/local/lib/haxe/lib/hxcpp/3,3,49/include -DHX_MACOS -m64 -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-format-extra-args -Wno-bool-conversion -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=330 -x c++ -frtti -Wno-invalid-offsetof ./src/starling/display/BlendMode.cpp -o/Users/hyh/haxe_projects/starling-builder/demo/Export/mac64/cpp/obj/obj/darwin64/bb5c3b3d_BlendMode.o
./src/starling/display/BlendMode.cpp:208:130: error: no viable conversion from '::String' to 'const int'
HXLINE( 168) modes->get(name).StaticCast< ::starling::display::BlendFactor >()->factors = ::Array_obj< Int >::__new(2)->init(0,sourceFactor)->init(1,destFactor);
^~~~~~~~~~~~
/usr/local/lib/haxe/lib/hxcpp/3,3,49/include/hxString.h:130:11: note: candidate function
inline operator const char *() { return s; }
^
/usr/local/lib/haxe/lib/hxcpp/3,3,49/include/Array.h:482:48: note: passing argument to parameter 'inValue' here
Array<ELEM> init(int inIndex, const ELEM &inValue)
^
1 error generated.
Flash and html5 target works fine for me though. Any ideas?
The text was updated successfully, but these errors were encountered: