-
Notifications
You must be signed in to change notification settings - Fork 111
Fix environ define for Apple #175
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
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #175 +/- ##
=======================================
Coverage 98.22% 98.22%
=======================================
Files 140 140
Lines 11887 11887
=======================================
Hits 11676 11676
Misses 211 211
☔ View full report in Codecov by Sentry. |
Hi, thanks for the PR! Can you explain why this change is needed? Because, as far as I could see, the original worked as well -- compiled and passed tests. For comparison, here's the
And here's a build of your PR:
In both cases it populates the environment, and env vars explicitly set before the test ( Is the |
@mosra Thank you for responding! Reason is that while on the new macOS those are apparently equivalent, on older ones that |
|
Hah, commented at the same time. Which macOS versions are affected? Just for documentation purposes. Unfortunately I'm not able to test anything older than 11 on the CIs to have it caught in an automated way... |
I am not really sure re all macOS versions that fail due to this, to be honest. I can say for the fact that 10.6 is affected, and I think it is relevant for some other systems. |
I did some digging, found https://ports.macports.org/all_builds/?port_name=corrade and there it seems to be an issue before macOS 10.8. I reworked your patch a bit (didn't like the 10.8 and 10.9 builds then fail on |
@mosra Thank you! Community fixes are perfectly fine. Personally I do not care about Clangs at all (in Macports I have to, cannot just ignore them); GCC works fine both on PowerPC and Intel. I can confirm that it does build on 10.6 with the modern GCC :) |
Fix the definition for macOS.