This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
compile error in misc-inst.cc
- To: libstdc++@sourceware.cygnus.com
- Subject: compile error in misc-inst.cc
- From: "Mark E." <snowball3@usa.net>
- Date: Mon, 19 Apr 1999 15:30:26 -0400
When compiling the CVS version of libstdc++, I get an error when
compiling src/misc-inst.cc:
gpp -DHAVE_CONFIG_H -I. -I../../src -I.. -nostdinc++ -I../.. -I../../stl -
I../../libio -g -D_GNU_SOURCE -fno-implicit-templates -fimplicit-
templates -c ../../src/misc-inst.cc -o misc-inst.o
../../bits/std_ostream.h: In function `class
basic_ostream<char,char_traits<char> > & operator
<<<char_traits<char>>(class basic_ostream<char,char_traits<char> >
&, const char *)':
../../src/misc-inst.cc:150: instantiated from here
../../bits/std_ostream.h:425: no matching function for call to
`basic_ostream<_CharT,_Traits>::sentry::sentry
(basic_ostream<char,char_traits<char> > &)'
../../bits/std_ostream.h:241: candidates are:
basic_ostream<_CharT,_Traits>::sentry::sentry(basic_ostream<_Char
T,_Traits> &)
make.exe[2]: *** [misc-inst.lo] Error 1
make.exe[2]: Leaving directory `c:/djgpp/cvs/libstd~1/build/src'
make.exe[1]: *** [all-recursive] Error 1
make.exe[1]: Leaving directory `c:/djgpp/cvs/libstd~1/build'
make.exe: *** [all-recursive-am] Error 2
Also, g++ reports an error in the CVS source I previously in reported in
the snapshot version of src/locale-inst.cc at about line 189.
Mark
---
Mark Elbrecht, snowball3@usa.net
http://snowball.digitalspace.net/