On Fri, 22 Nov 2013 12:25:47 -0800, Amos Anderson said: >I'm testing my project on a fresh OSX 10.9 install. Some of the tools >don't build with clang yet, so I'm using gcc for now. However, by >default, hdf5 picks clang (OSX 10.9 / xcode 5) for compilation. This >appears to be resulting in a binary incompatibility: > >My code is looking for this symbol: >H5::CommonFG::openDataSet(std::basic_string<char, >std::char_traits<char>, std::allocator<char> > const&) const >HDF5 libraries have this symbol: >H5::CommonFG::openDataSet(std::__1::basic_string<char, >std::__1::char_traits<char>, std::__1::allocator<char> > const&) const > >Is there a way that HDF5 can be compiled to have ABI compatibility with >both libc++ and libstdc++?
I doubt it. The libc++ webpage even talks about how breaking ABI with libstdc++ was necessary. On 10.9 the default is libc++, as you say, but libstdc++ is still available, why not just use it? -stdlib=libstdc++ Cheers, -- ____________________________________________________________ Sean McBride, B. Eng [email protected] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
