This is the mail archive of the gcc-bugs@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]

Re: Use of atexit for destructors on Solaris 7.


> I have a workable fix for now. I get the impression there is some
> work being done on the 'atexit' mechanism to support dynamic
> libraries, I assume this limit will be removed when this is
> introduced ???

That depends on the platform. For Linux, all problems with global
objects, atexit, and destructor ordering will be fixed. For Solaris,
it really depends what kind of mechanisms Sun provides. If they want
to implement the C++ standard themselves, they'll *have* to provide a
mechanism eventually. Until then, you'll have to live with various
work-arounds - depending on what exactly you want to achieve.

If you want to share your Solaris specific code, I'm sure the gcc Web
site would host it. You may also consider putting an entry in the
FAQ-o-mat talking about the problem and its solutions.

Regards,
Martin


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