https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81976
Romain Geissler <romain.geissler at amadeus dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |romain.geissler at amadeus dot
com
--- Comment #1 from Romain Geissler <romain.geissler at amadeus dot com> ---
Hi,
It still happens with gcc trunk.
Note that you have this issue for example when you try to inherit from the
boost/operators.hpp operators (eg boost::less_than_comparable<T>) and expect
is_standard_layout to be true. One possible workaround in such case is to
inherit from boost::less_than_comparable1<T> instead, that removes one
inheritance level to workaround this gcc bug.
Cheers,
Romain