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

size_t conflicts when building on 64-bit Linux #8

Open
bachmeil opened this issue Feb 11, 2021 · 0 comments
Open

size_t conflicts when building on 64-bit Linux #8

bachmeil opened this issue Feb 11, 2021 · 0 comments

Comments

@bachmeil
Copy link

I get errors on the following lines when compiling on 64-bit Linux (Ubuntu or Fedora, but I assume this is not distro-specific). The problem in all cases is the use of size_t, causing a ulong to be passed as a parameter that should be int.

display.d: Lines 323, 324, 327
more.d: Lines 399, 402

Importing std.conv and adding to!int as needed fixed the problem in all cases. I'd have submitted a PR, but I don't know if this is how you want to fix it.

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