-
-
Notifications
You must be signed in to change notification settings - Fork 509
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
Compilation error: call to 'abs' is ambiguous #1382
Comments
Fixed this by implementing function overloading for |
@jpchen I think I have this kind of similar issue but concerning the max function and for Windows. I'm tracking the 4.2 branch. Here is the error log: https://github.com/Lecrapouille/gdcef/actions/runs/10021585672/job/27700552752#step:5:2678
Afaik on Linux this file does not exist and I have this issue on CI but it seems easily reproducible. |
Godot version
4.2
godot-cpp version
4.2
System information
Mac os 10.15
Issue description
i am trying to build the godot-cpp library:
scons platform=macos arch=x86_64 generate_bindings=yes
and I get many such errors:
I am using clang 11.0.3 and I see scons is indeed passing the std=c++17 flag which should be compilable via my clang version.
Steps to reproduce
scons platform=macos arch=x86_64 generate_bindings=yes
from the project directory.Minimal reproduction project
Using either the master of 4.2 branch of the project on a macos 10.15.7 (intel chip).
The text was updated successfully, but these errors were encountered: