-
Notifications
You must be signed in to change notification settings - Fork 21
macOS: minor fixes for < 10.9 #179
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
Conversation
ObjC should simply not be used outside of MacOS, so I do not really get why this warning:
What should I do to fix this though? |
IDK, sorry, possibly a base R bug. Maybe there is a way to do what you want without that flag? Why do you need it? |
@gaborcsardi No, it is nothing about R, the compiler explicitly requires that:
UPD. Or if you mean the CI error is an R bug, that could be, I cannot say. Could we set the standard for ObjC without passing any flags? |
And none of those options are portable according to R? Maybe you can specify that option in your own |
But that will leave the build with gcc broken for everyone else, completely unnecessarily. |
Well, we cannot add it to the package if it fails the CRAN checks. |
Yeah, I understand that, there should be a way to add it correctly (according to CRAN). |
If it is needed for one kind of compiler, then I think it either belongs to the user |
I have dropped that commit now. P. S. The issue with ObjC is that on its own it does not require a specific standard (when aqua module is built), so R config won’t have it. It is also possible, I think, to build R on macOS without aqua at all, and then ObjC compiler is not used during building R itself. But it still will be pulled in here in |
Sure, but you can still specify the default OBJC flags when building R, whether it is used or not. Just to have a good default for packages. |
We can definitely have a local fix for ObjC issue in MacPorts, no problem. |
Thank you! |
@gaborcsardi Could you please take a look? I hope the patch is minimal enough. With this,
ps
builds on my 10.6 ppc.