<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 8, 2015, at 8:33 PM, Thiago Macieira <<a href="mailto:thiago@macieira.org" class="">thiago@macieira.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">On Sunday 08 November 2015 20:00:13 Dirk Hohndel wrote:<br class=""><blockquote type="cite" class="">Nope. Xcode 4 uses clang and throws up with c++11<br class=""><br class="">And I need XCode 4 to build working binaries. We've been down this rat hole<br class="">before. I'm not switching compilers. <br class=""></blockquote><br class="">Xcode 4.6 comes with a Clang based on the 3.2 branch of LLVM and that should <br class="">have enough C++11 support for us, according <br class=""><a href="thttp://clang.llvm.org/cxx_status.html" class="">thttp://clang.llvm.org/cxx_status.html</a>.<br class=""><br class="">What were the errors?<br class=""></div></blockquote><div><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[ 15%] </span>Building CXX object subsurface-core/CMakeFiles/subsurface_corelib.dir/divesite.cpp.o</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">In file included from /Users/hohndel/src/subsurface/subsurface-core/divesite.cpp:1:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">In file included from /Users/hohndel/src/subsurface/subsurface-core/divesite.h:9:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">In file included from /Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/QString:1:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><b class="">/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:739:55: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">no type named 'u16string' in namespace 'std'</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    static inline QString fromStdU16String(const std::u16string &s);</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">                                                 ~~~~~^</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><b class="">/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:740:17: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">no type named 'u16string' in namespace 'std'</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    inline std::u16string toStdU16String() const;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">           ~~~~~^</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><b class="">/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:741:55: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">no type named 'u32string' in namespace 'std'</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    static inline QString fromStdU32String(const std::u32string &s);</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">                                                 ~~~~~^</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><b class="">/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:742:17: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">no type named 'u32string' in namespace 'std'</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    inline std::u32string toStdU32String() const;</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">           ~~~~~^</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><b class="">/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:1053:17: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">exception specification in declaration does not match previous declaration</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">inline QString::~QString() { if (!d->ref.deref()) Data::deallocate(d); }</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">                ^</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><b class="">/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:219:12: note: </b>previous declaration is here</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">    inline ~QString();</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">           ^</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><b class="">/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:1081:28: </b><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><b class="">calling a private constructor of class 'QCharRef'</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">{ Q_ASSERT(i >= 0); return QCharRef(*this, i); }</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);" class=""><b class="">                           ^</b></div><div class=""><b class=""><font color="#002e7a" class="">and on and on and on</font></b></div><div class=""><b class=""><font color="#002e7a" class=""><br class=""></font></b></div><div class=""><b class=""><font color="#002e7a" class="">/D</font></b></div><div class=""><br class=""></div></div></body></html>