Le 13/06/2016 à 16:50, Stephan Witt a écrit :
Am 13.06.2016 um 16:25 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:
Le 13/06/2016 à 14:27, Stephan Witt a écrit :
Stephan, I'd be interested to know what clang version is returned by the Apple
version. I hope it does not return the XCode version.
Why not?
checking whether the compiler is clang... yes
checking for clang version... 7.3.0
Because I'd like to know what warnings exist for a given version. I do explicit
testing for version <=3.3, it will not catch the Apple case. I am not sure why
they want to be so creative about it. Is there a way to get the underlying clang
version?
IMHO not, because of:
http://clang-developers.42468.n3.nabble.com/FYI-Version-number-change-td922629.html
And the numbering used by apple is just some monotonic random process:
https://gist.github.com/yamaya/2924292
Sigh. How do we know that a given clang version is the apple one? Just
to know, I do not need this information yet.
It might be that we have to add explicit tests for supported warning
classes.
JMarc