Mac OS X 64-bit, libstdc++ vs. libc++
Stephan Bergmann
sbergman at redhat.com
Mon Jan 20 02:27:51 PST 2014
On 01/19/2014 05:27 PM, Norbert Thiebaud wrote:
> sadly 4.2 does not build at this point with --enable-libc++
>
> for instance:
> n file included from /lo/rel42/unoidl/source/unoidl-write.cxx:16:
> In file included from
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/map:371:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__tree:820:16:
> error: static_cast from 'pointer' (aka
> 'std::__1::__tree_end_node<std::__1::__tree_node_base<void *> *> *')
> to '__node_pointer' (aka
> 'std::__1::__tree_node<std::__1::pair<rtl::OUString,
> <anonymous>::Item>, void *> *') is not allowed
> return static_cast<__node_pointer>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Current libreoffice-4-2 does build fine for me against Xcode 5.0.2 (on
OS X 10.9.1), with --enable-64-bit --enable-libc++ (among various other
configuration switches). (The underlying Clang of that Xcode version is
reported as "Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM
3.3.svn)".)
Stephan
More information about the LibreOffice
mailing list