dlclose not calling destructors of static variables.

Dave Korn dave.korn.cygwin@googlemail.com
Fri Jan 29 15:17:00 GMT 2010


On 29/01/2010 14:30, Andrew West wrote:

> Which brings me on to the bigger problem, the static variables are
> registered with atexit rather than with __cxa_atexit which seems to be a
> violation of the C++ standard (1).

  That's not the C++ standard; that is part of the cxx-abi.  Since so much of
cxx-abi assumes ELF, we implement things slightly differently on Cygwin.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list