This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]