Subject: aspell doesn't seem to like gcc3 :-(
To: None <current-users@netbsd.org>
From: George Michaelson <ggm@apnic.net>
List: current-users
Date: 09/09/2003 09:49:36
can't remake a few packages, because they depend on aspell, and aspell won't
build because it doesn't seem to like gcc3.

Is there some well known generic fix on things calling iostream which can be
applied simply? Looks like there has been a one-line fix on mozilla, but that
didn't work for aspell..

-George


c++ -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common
-I/usr/pkgsrc/textproc/aspell/work/.buildlink/include -O2
-I/usr/pkgsrc/textproc/aspell/work/.buildlink/include -MT split.lo -MD -MP -MF
.deps/split.Tpo -c split.cpp  -fPIC -DPIC -o .libs/split.o split.cpp: In
function `std::vector<acommon::String,    std::allocator<acommon::String> >
aspeller::split(const acommon::String&)': split.cpp:13: error: no match for
'operator>>' in 's >> item'/usr/include/g++/iostream.h:200: error: candidates
are: istream&    istream::operator>>(char*)
/usr/include/g++/iostream.h:201: error:                 istream& 
   istream::operator>>(unsigned char*)
/usr/include/g++/iostream.h:202: error:                 istream& 
   istream::operator>>(signed char*)
/usr/include/g++/iostream.h:203: error:                 istream& 
   istream::operator>>(char&)
/usr/include/g++/iostream.h:204: error:                 istream& 
   istream::operator>>(unsigned char&)
/usr/include/g++/iostream.h:205: error:                 istream& 
   istream::operator>>(signed char&)
/usr/include/g++/iostream.h:206: error:                 istream& 
   istream::operator>>(int&)
/usr/include/g++/iostream.h:207: error:                 istream& 
   istream::operator>>(long int&)
/usr/include/g++/iostream.h:209: error:                 istream& 
   istream::operator>>(long long int&)
/usr/include/g++/iostream.h:210: error:                 istream& 
   istream::operator>>(long long unsigned int&)
/usr/include/g++/iostream.h:212: error:                 istream& 
   istream::operator>>(short int&)
/usr/include/g++/iostream.h:213: error:                 istream& 
   istream::operator>>(unsigned int&)
/usr/include/g++/iostream.h:214: error:                 istream& 
   istream::operator>>(long unsigned int&)
/usr/include/g++/iostream.h:215: error:                 istream& 
   istream::operator>>(short unsigned int&)
/usr/include/g++/iostream.h:217: error:                 istream& 
   istream::operator>>(bool&)
/usr/include/g++/iostream.h:219: error:                 istream& 
   istream::operator>>(float&)
/usr/include/g++/iostream.h:220: error:                 istream& 
   istream::operator>>(double&)
/usr/include/g++/iostream.h:221: error:                 istream& 
   istream::operator>>(long double&)
/usr/include/g++/iostream.h:222: error:                 istream& 
   istream::operator>>(ios&(*)(ios&))
/usr/include/g++/iostream.h:223: error:                 istream& 
   istream::operator>>(istream&(*)(istream&))
/usr/include/g++/iostream.h:224: error:                 istream& 
   istream::operator>>(streambuf*)
gmake[3]: *** [split.lo] Error 1
gmake[3]: Leaving directory
`/usr/pkgsrc/textproc/aspell/work/aspell-0.50.3/modules/speller/default'
gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory
`/usr/pkgsrc/textproc/aspell/work/aspell-0.50.3/modules/speller' gmake[1]: ***
[all-recursive] Error 1 gmake[1]: Leaving directory
`/usr/pkgsrc/textproc/aspell/work/aspell-0.50.3/modules' gmake: ***
[all-recursive] Error 1*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/textproc/aspell
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/aspell
#