-
Notifications
You must be signed in to change notification settings - Fork 6
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
Compile error on osx-arm64 #52
Comments
We regularly compile UDA with clang-19 on arm64 (including in the CI) and have not seen this issue before. It seems from the log you are defined a bunch of extra CXXFLAGS and CPPFLAGS - it's possible that some of these flags are causing the compiler to throw this error. Would you be able to add this "-Wno-cast-function-type" to your CXXFLAGS? I would rather avoid turning off this warning for all code. |
Thank you for your response. Is there any dependency on the order of compiler args? |
Perhaps the required flag is |
That caused the same issue, unfortunately. |
Hello.
When I built the UDA conda package in #51 on an osx-arm64 M3 Mac laptop, I encountered C++ compile errors like:
The whole build log is shared by the URL link: https://app.warp.dev/block/Y9zBIX0aRzIpHZ6lkBwts3
I could avoid the above error by adding the compile option
-Wno-cast-function-type
into line 23 insource/CMakeLists.txt
file:I would greatly appreciate it if you could address this issue.
The text was updated successfully, but these errors were encountered: