Random crash with GCC 4.7.1

Paul Smith paul@mad-scientist.net
Tue Jul 10 19:31:00 GMT 2012

On Mon, 2012-07-09 at 19:44 +0100, Jonathan Wakely wrote:
> >> For GCC 4.7.0 and 4.7.1 there is an incompatibility between c++11 and
> >> c++98 code due to the size of std::list being different in C++11 mode.
> >>
> > Will this bug be fixed? Is there bug report?
> It wasn't a bug, it was done intentionally, but the change has been
> reverted so the incompatibility will be gone in GCC 4.7.2

Hm, so if I compile code with C++11 enabled and GCC 4.7.0/4.7.1, and I
link with a shared lib compiled with C++98 OR with some other version of
GCC, can I expect to see issues with std::list incompatibility?

Or can I expect to see issues combining GCC 4.7.0/4.7.1 code with 4.7.2
and later?

If so is there a patch I can apply to my GCC 4.7.1 to proactively fix
this up, since 4.7.2 is still a few months away from release?


More information about the Gcc-help mailing list