HaxeFoundation / HaxeFoundation/hxcpp

Incorrect scoping on Pointer_obj

Open
#928 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

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:

```haxe
var constMessage = ConstPointer.fromRaw(message);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.