> On Nov 8, 2015, at 8:33 PM, Thiago Macieira <[email protected]> wrote:
> 
> On Sunday 08 November 2015 20:00:13 Dirk Hohndel wrote:
>> Nope. Xcode 4 uses clang and throws up with c++11
>> 
>> And I need XCode 4 to build working binaries. We've been down this rat hole
>> before. I'm not switching compilers. 
> 
> Xcode 4.6 comes with a Clang based on the 3.2 branch of LLVM and that should 
> have enough C++11 support for us, according 
> thttp://clang.llvm.org/cxx_status.html.
> 
> What were the errors?

[ 15%] Building CXX object 
subsurface-core/CMakeFiles/subsurface_corelib.dir/divesite.cpp.o
In file included from 
/Users/hohndel/src/subsurface/subsurface-core/divesite.cpp:1:
In file included from 
/Users/hohndel/src/subsurface/subsurface-core/divesite.h:9:
In file included from 
/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/QString:1:
/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:739:55: 
error: no type named 'u16string' in namespace 'std'
    static inline QString fromStdU16String(const std::u16string &s);
                                                 ~~~~~^
/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:740:17: 
error: no type named 'u16string' in namespace 'std'
    inline std::u16string toStdU16String() const;
           ~~~~~^
/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:741:55: 
error: no type named 'u32string' in namespace 'std'
    static inline QString fromStdU32String(const std::u32string &s);
                                                 ~~~~~^
/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:742:17: 
error: no type named 'u32string' in namespace 'std'
    inline std::u32string toStdU32String() const;
           ~~~~~^
/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:1053:17: 
error: exception specification in declaration does not match previous 
declaration
inline QString::~QString() { if (!d->ref.deref()) Data::deallocate(d); }
                ^
/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:219:12: 
note: previous declaration is here
    inline ~QString();
           ^
/Users/hohndel/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qstring.h:1081:28: 
error: calling a private constructor of class 'QCharRef'
{ Q_ASSERT(i >= 0); return QCharRef(*this, i); }
                           ^
and on and on and on

/D

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to