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

call of overloaded 'abs(long unsigned int)' is ambiguous #2

Open
mfcakir opened this issue Sep 22, 2021 · 3 comments
Open

call of overloaded 'abs(long unsigned int)' is ambiguous #2

mfcakir opened this issue Sep 22, 2021 · 3 comments

Comments

@mfcakir
Copy link

mfcakir commented Sep 22, 2021

When i tried to compile. its gave me lots of "call of overloaded 'abs(long unsigned int)' is ambiguous" error
Ekra

@nevrenuf1
Copy link

I am getting the same results? How can we fix this. Thanks

@zjhcr
Copy link

zjhcr commented Jun 27, 2022

I have the same problem too.......

@ZD4ve
Copy link

ZD4ve commented Mar 4, 2023

It is because the program tries substracting two non-negative numbers from eachother without conversion. Removeing the abs (with leaving the brackets in place) in the lines where it throwes an error would fix the problem without breaking anything.
I think....

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

4 participants