[odb-users] C++11 with clang on OSX 10.8
Boris Kolpackov
boris at codesynthesis.com
Tue Aug 27 10:30:06 EDT 2013
Hi Philipp,
Philipp Maluta <fil.the.ensoreus at gmail.com> writes:
> libodb-sqlite built with
> configure CC=clang CPPFLAGS="--std=c++11 --libstd=libc++" [...]
You are still probably building with g++ since you only specified
the C compiler, not C++. So this should be:
configure CXX=clang++ CXXFLAGS="--std=c++11 --libstd=libc++" ...
Also, make sure that the generated code (and the rest of your
application) is built with the same options (--std=c++11 and
--libstd=libc++).
Boris
More information about the odb-users
mailing list