[odb-users] Defining one-to-many bidirectional relationship
dpbowe at hotmail.com
Fri Feb 10 11:33:00 EST 2017
I have downloaded the libodb-boost profile and compiled it from source. Do i need to add any further options to the compiler or includes in the header file?
From: Boris Kolpackov <boris at codesynthesis.com>
Sent: 10 February 2017 15:45
To: david bowe
Cc: odb-users at codesynthesis.com
Subject: Re: [odb-users] Defining one-to-many bidirectional relationship
david bowe <dpbowe at hotmail.com> writes:
> database.hxx:111:46: error: unable to map C++ type
> '::__gnu_cxx::new_allocator< ::boost::weak_ptr< ::order > >::this_type'
> used in data member 'orders_' to a PostgreSQL database type
You are using Boost smart pointers. Have you enabled the Boost profile
More information about the odb-users