[Bug libstdc++/21072] base allocator change shared object issues

matz at suse dot de gcc-bugzilla@gcc.gnu.org
Mon Nov 7 19:59:00 GMT 2005



------- Comment #7 from matz at suse dot de  2005-11-07 19:59 -------
Of course not.  But unaware people trying trunk currently on distros which
provided 3.4 or 4.0 will get non-obvious problems, and I'm not sure if that's
a good idea (ignoring this problem 4.0 and trunk are nearly compatible, and
4.0 compiled programs work with the trunk libstc++, which has the same
SOname like the 4.0 one).  I think the only way to switch to the 'mt'
allocator by default for the future without API issues would be to rename
it to 'new', and not via some configure arguments.

Another reason is that this switching back of the default allocator is
not forgotten when 4.1 branches, which I think is necessary anyway, so that
4.1 libs are compatible with 4.0 programs.


-- 


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



More information about the Gcc-bugs mailing list