__cxa_atexit question

Benjamin Kosnik bkoz@redhat.com
Tue May 16 17:40:00 GMT 2006


> I think it's reasonable to conditionally include a C++-aware atexit,
> __cxa_atexit, and __cxa_finalize in libsupc++, which is then
> incorporated into libstdc++.  On a system where these functions are not
> in the C library, there's no other way to build a conforming C++
> implementation. 

IMHO, checkbox only. Without interoperability with "C" not so useful.

I'm not dead-set opposed to this, just think this is yet another
runtime hack for HPUX. Of limited use, I think.

> Other C++ compilers provide their own runtime libraries
> on such platforms, so as to conform to the C++ standard; why shouldn't
> we do the same?

By not doing this, maybe HP can be convinced to do the sane thing?

-benjamin



More information about the Libstdc++ mailing list