[Bug c++/53059] sizeof(std::list)=12 was 8 in previous releases

ratnikov.ev at ya dot ru gcc-bugzilla@gcc.gnu.org
Sun Apr 22 19:11:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53059

--- Comment #8 from Evgeny Ratnikov <ratnikov.ev at ya dot ru> 2012-04-22 19:11:22 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> > problem is that after such change my application (-std=98) linked with
> > libraries (-std=0x) causes corrupted stack.
> 
> You can't do that. It won't work.

And what about the reverse situation?
Old libraries, compiled with -std=98 and new code compiled with -std=0x.
It is clear that there would be run-time problems.
By the way there is nothing about it in 4.7.0-changes.



More information about the Gcc-bugs mailing list