c++/4342: Don't call the constructor of the static object members in a shared library

aoliva@gcc.gnu.org aoliva@gcc.gnu.org
Fri Sep 28 21:25:00 GMT 2001


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



More information about the Gcc-bugs mailing list