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

Variable length strings in types don't compile on macOS #64

Closed
flukiluke opened this issue Jul 7, 2020 · 3 comments
Closed

Variable length strings in types don't compile on macOS #64

flukiluke opened this issue Jul 7, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@flukiluke
Copy link
Contributor

flukiluke commented Jul 7, 2020

MRE:

type t
  s as string
end type

dim a as t
a.s = "hello"

gives

error: arithmetic on a pointer to void
qbs_set(*((qbs**)((__UDT_A)+(0))),qbs_new_txt_len("hello",5));
                  ~~~~~~~~~^
@flukiluke flukiluke added the bug Something isn't working label Jul 7, 2020
@flukiluke flukiluke self-assigned this Jul 7, 2020
@M0REKZ
Copy link

M0REKZ commented Jul 7, 2020

oh no, I hope this is solved soon, because in a program that im making it would also occupy something similar

@flukiluke
Copy link
Contributor Author

Fixed in c165592

@M0REKZ
Copy link

M0REKZ commented Jul 12, 2020

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants