HaxeFoundation / HaxeFoundation/hxcpp
Error compiling project to IOS with hxml ::Dynamic in BufferFlags
- Dominant language
- C++
- Stars
- 330
- Forks
- 227
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 18
Description
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;
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.