failure to construct global object

Alexandre Oliva oliva@lsd.ic.unicamp.br
Tue Mar 7 19:07:00 GMT 2000


On Mar  7, 2000, Gisli Ottarsson <gisli@adams.com> wrote:

>>> The problem seems to be that the constructor for this object is never
>>> called.  

>>>>>> On Mon, 6 Mar 2000 09:39:52 +0100, Martin v. Loewis said:
 
MvL> Thanks for your bug report. Without seeing any details, I'd
MvL> claim that the compiler is working properly, and that you made
MvL> some mistake. 

> Fair enough.  Let me try to change your mind.

Before I join this discussion: how are you linking the executable?
Are you using `g++' or running `ld' directly?  The latter isn't
supposed to work, and this is one of the symptoms.

-- 
Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaraná
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me



More information about the Gcc-bugs mailing list