<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 2017-04-22, at 1:55 PM, db wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 22 Apr 2017, at 21:58, Ryan Schmidt <<a href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>> wrote:<br><blockquote type="cite">Sounds plausible. What's your question / problem with this?<br></blockquote><br>Ken already point me to cxx11-1.1.tcl, but I still don't get why 4.0 isn't whitelisted in a system whose default is set to 3.9.<br><br></div></blockquote></div><br><div>because cxx_stdlib will equal libc++ and therefore this test (which would lead to the code that does the whitelisting) will fail.</div><div><br></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: small; ">if {${cxx_stdlib} eq "libstdc++" }</span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: small; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: small; "><br></span></div><div><font class="Apple-style-span" face="Arial" size="2"><div style="font-family: Helvetica; font-size: medium; ">it's not the fact that the default compiler has been set that results in 4.0 not being whitelisted -- it's that fact that on that machine where you set clang-3.9 to be the default compiler,  you also have set cxx_stdlb to libc++</div><div style="font-family: Helvetica; font-size: medium; "><br></div><div style="font-family: Helvetica; font-size: medium; ">If that still seems confusing, follow through the cxx11 1.1 code -- and there is one more point to know -- by default, without you having to specifically set it, on a stock 10.8 machine, cxx_stdlib is set to libstdc++ by macports.</div><div style="font-family: Helvetica; font-size: medium; "><br></div><div style="font-family: Helvetica; font-size: medium; "><br></div><div style="font-family: Helvetica; font-size: medium; ">K</div></font></div></body></html>