-
Notifications
You must be signed in to change notification settings - Fork 424
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
Call to 'abs' is ambiguous. Hash.h #79
Comments
Hi! Can you provide a more detailed stack trace or line number in which this code occurs? I’m pretty sure your issue is with one of the dependencies included. I’d suggest following up with the appropriate project on GitHub. |
Thank you,
I tried to download a stack trace with no success, but the line number is
99 if that is helpful.
It belongs in the assimp 1 library with a call to hash.h.
I've copied where it lives in a switch structure.
/* Handle end cases */
switch (rem) {
case 3: hash += get16bits (data);
hash ^= hash << 16;
hash ^= abs(data[sizeof(uint16_t)]) << 18;
hash += hash >> 11;
break;
case 2: hash += get16bits (data);
hash ^= hash << 11;
hash += hash >> 17;
break;
case 1: hash += *data;
hash ^= hash << 10;
hash += hash >> 1;
}
I will try to follow the project as suggested.
Regards
…On Fri, Jan 27, 2023 at 3:59 AM Polytonic ***@***.***> wrote:
Hi! Can you provide a more detailed stack trace or line number in which
this code occurs? I’m pretty sure your issue is with one of the
dependencies included. I’d suggest following up with the appropriate
project on GitHub.
—
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFUX5G7FSTZU5SZDYIJYN5DWUKUNXANCNFSM6AAAAAAUGDI4NU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thank you, I tried to download a stack trace with no success, but the line number is 99 if that is helpful. |
I think you’ll want to take this up with the assimp maintainers then. |
Thanks, will do
…On Sat, 28 Jan 2023, 4:18 am Polytonic, ***@***.***> wrote:
I think you’ll want to take this up with the assimp maintainers then.
—
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFUX5GZAMSZXA7IWF462O2LWUP7O3ANCNFSM6AAAAAAUGDI4NU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I have downloaded your Glitter program to run openGL on my macOS 10.13.6 using Xcode version 10.1 but I get the above error message in this line of code:
hash ^= abs(data[sizeof(uint16_t)]) << 18;
I would appreciate any suggestions for a fix.
Regards.
The text was updated successfully, but these errors were encountered: