<table><tr><td style="">rjvbb added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18547">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>like René says, this is quite surprising</p></blockquote>
<p>Hmmm, did I say exactly that? :)</p>
<p>The surpising bit is that this hasn't been an issue for much longer although maybe even that is not so surprising.</p>
<p>I continue to think that the check is not reliable as is. For instance, on my 10.9.5 system:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">> /usr/bin/clang --version
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix</pre></div>
<p>this compiler version does NOT support the flag in question here, as evident from the corresponding stock version (3.5). Later Apple clang versions no longer show the equivalence info but continue to use a versioning that is ahead of stock version numbers.<br />
This particular version is reported by CMake as <tt style="background: #ebebeb; font-size: 13px;">AppleClang 6.0.0.6000057</tt> on the terminal, and <tt style="background: #ebebeb; font-size: 13px;">CMAKE_CXX_COMPILER_VERSION "6.0.0.6000057"</tt> internally, iow, "not less than 5.0.0" ...</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18547">https://phabricator.kde.org/D18547</a></div></div><br /><div><strong>To: </strong>vonreth, aacid, apol, dfaure, rjvbb, bcooksley<br /><strong>Cc: </strong>aacid, kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns<br /></div>