Problems with __cxa_demangle and the verbose terminate handler

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Feb 23 17:36:00 GMT 2004


Benjamin Kosnik <bkoz@redhat.com> writes:

| I have always been in favor of using fputs here, instead of write. The
| problem is that some people feel that fputs brings in too much of "C"
| library.
| 
| As I see it, the solutions are to:
| 
| 1) use fputs
| 2) use fileno(stderr) to acertain the file descriptor of stderr, instead of 2
| 
| I suggest 1, and have a patch to do so ready.

Seconded.

-- Gaby



More information about the Libstdc++ mailing list