hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

Incorrect scoping on Pointer_obj

Open thomasjwebb opened this issue 5 years ago • 1 comments
trafficstars

Now I'm having this issue:

Error: ./src/grig/midi/cpp/rtmidi/MidiIn.cpp:331:62: error: no member named 'Pointer_obj' in namespace 'grig::midi::cpp'; did you mean '::cpp::Pointer_obj'?
HXLINE(  71)            ::cpp::Pointer< unsigned char > constMessage = cpp::Pointer_obj::fromRaw(message);

the cpp::Pointer on the right lacks the :: before the cpp though the one on the left is right. The original haxe code this is from is:

var constMessage = ConstPointer.fromRaw(message);

thomasjwebb avatar Sep 18 '20 19:09 thomasjwebb

This won't affect me ultimately since I'm completely rewriting this code but I figured this is good to know if this is a bug.

thomasjwebb avatar Sep 18 '20 19:09 thomasjwebb