static constructors/destructors and atexit

Noel Yap nyap@garban.com
Fri Aug 14 06:57:00 GMT 1998


Kamil Iskra wrote:
> Excuse me, but why complicate it so much? Why can't we simply make the
> compiler replace the user-level atexit() calls with our own atexit() with
> no limits? This way we would conform to the standard, right?

I think the original question was whether the user could write portable
code (ie code that doesn't assume unlimited atexit() calls).

Noel



More information about the Gcc mailing list