[odb-users] internal compiler error in pointer-traits.hxx

Boris Kolpackov boris at codesynthesis.com
Mon Dec 2 09:18:01 EST 2013

Hi Rodolphe,

Ok, I've  managed to reproduce the crash on both Windows and Linux.
The problem is with the combination of the const pointed-to object:

boost::shared_ptr<const LineSpot> _lineSpot;

And Boost 1.55.0. That is, if I remove const from the above line,
everything compiles fine. Similarly, if I use an earlier version
of Boost (I tried 1.52.0) leaving const in place, everything
compiles fine as well.

I am still going to investigate further (and hopefully fix) this
strange combination. In the meantime you can use these two changes
as potential workarounds.


More information about the odb-users mailing list