RFA: Please review the new C++ demangler patch
Oscar Fuentes
ofv@wanadoo.es
Fri Jun 27 23:17:00 GMT 2003
Phil Edwards <phil@jaj.com> writes:
> On Sat, Jun 28, 2003 at 12:15:39AM +0200, Oscar Fuentes wrote:
>>
>> The demangler posted by H.J. Lu uses <vector>, but it doesn't depend
>> on libstdc++.a. As it links fine with the 'gcc' driver, I guess it
>> doesn't depends on any C++-specific support library either.
>
> So exceptions and whatnot are disabled while building that library?
> (I haven't checked.)
Yes.
>> libstdc++.a depency is avoided by providing a custom allocator for
>> the vector.
>>
>> The question is: have we any guarantee that providing a custom
>> allocator will be enough to use <vector> without linking to
>> libstdc++.a on the future?
>
> For vector, probably.
If this is official, providing a vector replacement has no sense.
BTW, it is great news for all the people who are interested on using
C++ on GCC.
--
Oscar
More information about the Gcc
mailing list