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]

Re: failure to construct global object


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


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