[odb-users] compilation error

Сергей Никонов shprotello at mail.ru
Sun Sep 3 04:00:15 EDT 2017


Hello everyone,

I have a problem with compiling ODB generated code. My simplified project consists of three files: item.h, data.h and item_data.h:
item.h and data.h define polymorphic hierarchies and item_data.h binds them and defines a view.

VC++ reports the following error for item_data_odb.cpp file:
"error C2027: use of undefined type 'odb::polymorphic_map<odb::access::object_traits<ns1::entity>::object_type>'"

I use Microsoft Visual Studio Community 2015 Version 14.0.25431.01 Update 3.

Sergey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: =?UTF-8?B?ZGF0YS5o?=
Type: application/octet-stream
Size: 578 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20170903/a27edde2/UTF-8BZGF0YS5o.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: =?UTF-8?B?aXRlbS5o?=
Type: application/octet-stream
Size: 838 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20170903/a27edde2/UTF-8BaXRlbS5o.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: =?UTF-8?B?aXRlbV9kYXRhLmg=?=
Type: application/octet-stream
Size: 1239 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20170903/a27edde2/UTF-8BaXRlbV9kYXRhLmg.obj


More information about the odb-users mailing list