This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Random crash with GCC 4.7.1
On 9 July 2012 19:03, wbrana wrote:
>> Are you compiling some of your application with -std=c++11 or
>> -std=c++0x and linking to other code compiled without those flags?
> I'm compiling with -std=c++0x
Thought so. That's the problem.
>> 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