[odb-users] 'unordered_set' is not a member of 'std'

Craig Burton rccraigb at gmail.com
Thu Sep 24 14:34:01 EDT 2020


Thank you, Boris, I will give 2.5.0 pre-release a try.  Just curious if the
older method of distribution (gzipped tar files) will be a possibility for
2.5?

Thanks again,
Craig


On Thu, Sep 17, 2020 at 4:55 AM Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Craig Burton <rccraigb at gmail.com> writes:
>
> > /usr/local/odb-2.4.0/bin/odb --std c++14  --database mysql
> > --generate-schema --generate-query --profile boost/date-time
> > --generate-session --default-pointer std::tr1::shared_ptr
>
> My guess would be there is some interference from Boost TR1 (that
> whole TR1 support injection is quite hacky). Seeing that you are
> using C++14, I would suggest using --default-pointer std::shared_ptr.
> I would also suggest upgrading[1] to the latest 2.5.0 pre-release
> since we've cleaned up some of that TR1 stuff since 2.4.0.
>
> [1] https://codesynthesis.com/products/odb/doc/install-build2.xhtml
>


More information about the odb-users mailing list