[libstdc++] fix (tricksy, wicked, false) sizeof bug in vterminate.cc

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Dec 27 05:47:00 GMT 2002


Phil Edwards <phil@jaj.com> writes:

| Is not so good when used like this:
| 
|     char* dem = __cxa_demangle(name, 0, 0, &status);
| 
|     writestr("terminate called after throwing an instance of '");
|     if (status == 0)
|         writestr(dem);

Scary.

Thanks,

-- Gaby



More information about the Libstdc++ mailing list