[odb-users] clang and libc++

Daniel James danielpeterjames at gmail.com
Thu Apr 26 10:14:26 EDT 2012

Hi All

I'm running into a problem when using the binary MacOS ODB compiler
and libodb*.dylib compiled with clang++ and linked to libc++.

Is this supported?

Here's an example of the link error I'm getting:

std::__1::char_traits<char>, std::__1::allocator<char> >,
unsigned long&, bool&, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&)",
referenced from:
person const&, odb::sqlite::statement_kind) in person-odb.o

Is it that the templates are not being instantiated for
std::__1::basic_string by the ODB plugin?

If this is the case can I compile/configure the ODB plugin in such a
way that it will know about libc++ classes?

Many thanks,


More information about the odb-users mailing list