This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4342: Don't call the constructor of the static object members in a shared library
- To: Danilo dot Lanzi at tlc dot semagroup dot it, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, shilton at tiscalinet dot it
- Subject: Re: c++/4342: Don't call the constructor of the static object members in a shared library
- From: aoliva at gcc dot gnu dot org
- Date: 29 Sep 2001 04:21:11 -0000
Synopsis: Don't call the constructor of the static object members in a shared library
State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Fri Sep 28 21:21:11 2001
State-Changed-Why:
Use g++ -shared to create the shared library, so that GCC gets a chance to link in the object files that would perform the dynamic initialization you're asking for.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4342&database=gcc