[odb-users] C++11 with clang on OSX 10.8

Boris Kolpackov boris at codesynthesis.com
Tue Aug 27 14:02:54 EDT 2013


Hi Philipp,

Boris Kolpackov <boris at codesynthesis.com> writes:

> If you are seeing this when building libodb, then you may want to
> change the configure command line like this in order to try to
> address the first possibility:
> 
> ./configure CXX="clang++ --std=c++11 --stdlib=libc++" --prefix=/opt/local --disable-threads

And if that still doesn't help, then build libodb (and libodb-sqlite)
as static libraries:

./configure CXX=clang++ CXXFLAGS="--std=c++11 --stdlib=libc++" --disable-shared ...

Boris



More information about the odb-users mailing list