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 $ clang -v Apple LLVM version 7.3.0 (clang-703.0.29) Target: x86_64-apple-darwin15.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Stephan