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

config.lib doesn't detect native Apple clang #6773

Closed
michicc opened this Issue Apr 30, 2018 · 2 comments

Comments

Projects
None yet
5 participants
@michicc
Copy link
Member

michicc commented Apr 30, 2018

The compiler detection in config.lib doesn't recognize a native Apple clang compiler as the version output differs.

Output is: https://gist.github.com/michicc/f26844cd9b62ccdd07ddf203520939f5

For comparison, an Apple gcc has https://gist.github.com/michicc/bdd04cd665f973e888345340ad2f6d88

@JGRennison

This comment has been minimized.

Copy link
Contributor

JGRennison commented May 20, 2018

In case it's useful for progressing this, I have a fix of sorts for this issue in this commit: JGRennison/OpenTTD-patches@094e04a which could be used as a start.

@andythenorth

This comment has been minimized.

Copy link
Contributor

andythenorth commented Jul 7, 2018

FWIW, trunk 2ed0e30 fails to compile for me on macOS with Apple LLVM version 9.0.0 (clang-900.0.39.2) - 3 compile errors.

With JGR's patch applied, compile works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment