two small fixes.

Benjamin Kosnik bkoz@cygnus.com
Thu Aug 5 11:34:00 GMT 1999


> first the simple one:
> this will silence another annoying -Wall warning

cool thanx.

> This one is real:
> compiling e.g. 17_intro/header_fstream.cc 
> with recent cvs gcc 2.96 there is a linker error:
> 
> ./src/.libs/libstdc++.a(misc-inst.o): In function `basic_ios<char, char_traits<char> >::init(basic_streambuf<char, char_traits<char> > *)':
> /home/am/gcc/egcs_current/libstdc++/bits/basic_ios.h:253: undefined reference to `ios_base::goodbit'
> /home/am/gcc/egcs_current/libstdc++/bits/basic_ios.h:253: undefined reference to `ios_base::badbit'
> ...

can you try to come up with a small, self-contained test?

thanks,
benjamin


More information about the Libstdc++ mailing list