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

log(unsigned int) and <<(unsigned int) can conflict with other signatures on some platforms #3

Open
RomanHargrave opened this issue Aug 2, 2015 · 1 comment

Comments

@RomanHargrave
Copy link

When compiling on an ARMv6 device, I noticed some errors regarding redefinition of the two aforementioned methods.

This is because unsigned int and size_t appear to be synonymous on this platform. This will reliably break compilation.

I may suggest that the method be declared with an unsigned int signature in addition to an unsigned long signature rather than size_t, as size_t is not guaranteed to be different from unsigned int.

@beholders-eye
Copy link

beholders-eye commented Oct 14, 2016

I got a an error cross-compiling for i686: http://dpaste.com/0WFY0EB. Maybe @RomanHargrave is right.

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

2 participants