[odb-users] do not use PRAGMA_DB macro if ODB is using gcc 6.x as underlying compiler

Boris Kolpackov boris at codesynthesis.com
Mon Dec 26 02:14:17 EST 2016


Hi Sten,

Sten Kultakangas <ratkaisut at gmail.com> writes:
 
> If ODB has been build to use gcc 6.2, then the above example will
> produce the following error:
> 
> employee_.hxx:44:24: error: unable to find associated object for object pointer
> employee_.hxx:44:24: info: use associated object alias as this data member name

I could reproduce this (thanks for the test case) and it seems to be another
GCC 6-specific issue. Everything works fine with GCC 5.

I will look into this and will keep you updated.

Boris



More information about the odb-users mailing list