This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++3: Static Initializers occur twice in Binary
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Frank Mehnert <fm3 at os dot inf dot tu-dresden dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 01 Dec 2003 16:54:48 -0800
- Subject: Re: g++3: Static Initializers occur twice in Binary
- References: <200312011806.50686.fm3@os.inf.tu-dresden.de>
Frank Mehnert wrote:
in the attached example, the constructor of class A is generated twice.
If you feed the mangled function names through c++filt, you will see
that one is an "in-charge" constructor, and the other is a
"not-in-charge" constructor.
I don't know what that means though. My 17 year old Stroustrup book
isn't a very good C++ reference anymore.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com