-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
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
-dce no and -dce full #155
Comments
after remove -dce full
|
Is that the complete stack trace...? There's no array indexing on that line. |
it's an error in Matrix.hx because it's use ArrayAccess,then I change to dynamic to cheat the compiler to build.with -dce no. |
purplepwny
added a commit
to purplepwny/flambe
that referenced
this issue
Jun 27, 2014
Matrix had to be changed because of the issue already reported in aduros#143 and aduros#155, or else the compiled preloaded swf will not run without "Error #1014: Class ArrayAccess could not be found." ArrayAccess appears to be optimized out...or is otherwise unavailable. I'm not sure it's being used correctly in Matrix.transformArray anyway, and my change doesn't appear to hurt.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
haxe -main PhysicsMain -lib nape -D NAPE_RELEASE_BUILD -dce no -lib flambe -cp src -dce full -debug --no-opt --no-inline --macro flambe.platform.ManifestBuilder.use("build/web/assets") --flash-strict -swf-header 640:480:60:000000 -D fdb -D advanced-telemetry -swf-version 11 -swf
some time I don't want dce full for some Reflect function ,
but the flambe compile tool will auto add -dce full,and I add dce no in the yam file.
Optional flags to pass to the Haxe compiler
haxe_flags: -lib nape -D NAPE_RELEASE_BUILD -dce no
but not override -dce full.
I found this in flambe tool
commonFlags.push("-dce", "full");
I think you need first check the haxe_flags index of dec .
The text was updated successfully, but these errors were encountered: