This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: --enable-__cxa_atexit
- From: "Scott Robert Ladd" <scott at coyotegulch dot com>
- To: "Mark Mitchell" <mark at codesourcery dot com>, "Gerald Pfeifer" <pfeifer at dbai dot tuwien dot ac dot at>, "Gabriel Dos Reis" <gdr at integrable-solutions dot net>
- Cc: "gcc List" <gcc at gcc dot gnu dot org>
- Date: Tue, 11 Feb 2003 14:11:46 -0500
- Subject: RE: --enable-__cxa_atexit
Mark Mitchell wrote
> It's not required for ABI conformance -- but it is required to get a
> correct C++ compiler, if you're concerned about the exact order of static
> destructors.
Wonderful! I appreciate the answer.
I had, by the way, dug into the compiler source code finally to figure out
exactly what __cxa_atexit actually *did*. I'm curious as to why this is not
the default option, and why it is listed in the documentation as a
requirement for ABI conformance when it is, in fact, related to C++
correctness.
..Scott