This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: static constructors/destructors and atexit
- To: Kamil Iskra <kamil at dwd dot interkom dot pl>
- Subject: Re: static constructors/destructors and atexit
- From: Noel Yap <nyap at garban dot com>
- Date: Fri, 14 Aug 1998 07:42:01 -0400
- CC: Joe Buck <jbuck at synopsys dot com>, Steven Parkes <parkes at sierravista dot com>, tv at pobox dot com, oliva at dcc dot unicamp dot br, egcs at cygnus dot com
- Organization: Garban LLC
- References: <Pine.LNX.3.96.980813215942.1013E-100000@jinks.home>
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