static data member problem

Mark E. snowball3@usa.net
Tue Sep 22 21:21:00 GMT 1998


> Mark E <snowball3@usa.net> writes:
> 
> > The program below generates an "undefined reference to 
> > container<char>::null_str_c" when STATIC is defined with egcs 
> > 1.1 for DJGPP. It seems perfectly legal to me, is the error correct or
> > have I found a bug?
> 
> You have found a bug.  I can reproduce it on IRIX 5.2 and SunOS 4.1.3, but

Thanks Alexandre,
I hope it eventually gets fixed. Though from reading the discussion 
on the egcs-bugs list, it doesn't sound like a simple fix to make. 
On the other hand, the problem I submitted appears to be the 
same one that also gives linker errors using STL. And if I can't use 
SGI's STL, there's not much point in using egcs until it does work.

Thanks,
Mark

-- 
Mark E. snowball3@usa.net
http://members.xoom.com/snowball3/



More information about the Gcc-bugs mailing list