This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]