Skip to content
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

Error compiling project to IOS with hxml ::Dynamic in BufferFlags #1172

Open
Mdbaker19 opened this issue Dec 31, 2024 · 0 comments
Open

Error compiling project to IOS with hxml ::Dynamic in BufferFlags #1172

Mdbaker19 opened this issue Dec 31, 2024 · 0 comments

Comments

@Mdbaker19
Copy link

During haxe ios.hxml
the generated code has a missing :: for the Dynamic reference in the below class

This issue also seems to show up in xcode when using Lime to compile the code - lime build ios

hxml file contents:
-main Main
-lib heaps
-lib random
-lib lime
-cpp build/ios
-D HXCPP_ARM64
-D ios
--class-path Source

Error seen after build attempt:

./src/hxd/impl/Allocator/BufferFlags_Impl.cpp:52:65: error: must use 'class' tag to refer to type 'Dynamic' in this scope
52 | bool BufferFlags_Impl__obj::__GetStatic(const ::String &inName, Dynamic &outValue, ::hx::PropertyAccess inCallProp)
| ^
| class
./src/hxd/impl/Allocator/BufferFlags_Impl.cpp:33:28: note: class 'Dynamic' is hidden by a non-type declaration of 'Dynamic' here
33 | int BufferFlags_Impl__obj::Dynamic;

@Mdbaker19 Mdbaker19 changed the title Error compiling Heaps and Haxe project to IOS with hxml Error compiling project to IOS with hxml ::Dynamic in BufferFlags Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant