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]
Other format: [Raw text]

[Bug c++/17873] order of static destructors wrong


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-06 23:04 -------
Did you configure with --enable-__cxa_atexit if not there is another bug about this problem.

Quote from the installer documentation:
Define if you want to use __cxa_atexit, rather than atexit, to register C++ destructors for local statics 
and global objects. This is essential for fully standards-compliant handling of destructors, but requires 
__cxa_atexit in libc. This option is currently only available on systems with GNU libc. When enabled, this 
will cause -fuse-cxa-exit to be passed by default. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
   Target Milestone|3.4.3                       |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17873


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