<div dir="ltr">Can someone explain the usefulness of __APPLE_CC__? The documentation claims [t<span style="color:rgb(0,0,0);font-family:'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;font-size:13px">he] macro is set to an integer that represents the version number of the compiler. </span><br><br>But one version of Apple clang defines:<div><br><br>#define __APPLE_CC__ 6000<br><br>#define __apple_build_version__ 6020053<br><br>#define __clang_version__ "6.1.0 (clang-602.0.53)"</div><div><br></div><div><br></div><div>And another newer version of Apple clang defines:</div><div>
<p class=""><span class="">#define __APPLE_CC__ 6000</span></p>
<p class=""><span class="">#define __apple_build_version__ 7000053</span></p>
<p class=""><span class="">#define __clang_version__ "7.0.0 (clang-700.0.53.3)"</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">So how does __APPLE_CC__ represent the "version" of the compiler? Is it stuck at 6000 now forever?</span></p><p class=""><span class=""><br></span></p></div></div>