[gmpi] Re: Linux C++ question

Paul Davis wrote:
Is there any other C or C++ feature that relys on atexit()?
that we need to avoid?, I couldn't find any info on this.


you got confused. there are no C++ features that rely on atexit.

Hi Paul,

We were talking about not using "static" in the SDK because of a bug in atexit() on Tim's Linux system. C++ hooks atexit() to implement the destructors of static objects.
It occured to me that other features of the C or C++ runtime may also hook atexit(), in which case we should investigate.


Perhaps I should have said "__cxa_atexit" not "atexit", but the same question still applies. Appologies if I'm mistaken?


Best Regards, jeff


---------------------------------------------------------------------- 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: