[gmpi] Re: Linux C++ question

>Paul Davis wrote:
>
>>>Maybe, but the problem exists today on a G5 Mac running OS X 10.3, XCode 
>>>1.5, latest Developer Tools etc., and I'm not the only one to report 
>>>this :-/
>>>    
>>>
>>
>>ok, *i* got confused. which problem?
>>  
>>
>The problem of destructors for block-scope and function-scope statics in 
>dylibs getting installed to the application's atexit handler.

amazing. what version of gcc does XCode 1.5 correspond to? this was
fixed in the mainline gcc/glibc combination several years ago ...
from what i can see in google, --use-cxa-atexit was added to gcc in
about 2002 or before. so reasonably current gcc has:

`-fuse-cxa-atexit'
     Register destructors for objects with static storage duration with
     the `__cxa_atexit' function rather than the `atexit' function.
     This option is required for fully standards-compliant handling of
     static destructors, but will only work if your C library supports
     `__cxa_atexit'.

so i guess the question is whether or not the C++ runtime for
Cocoa/Darwin supports __cxa_atexit ...

--p

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: