Hi, and I got this errors when compiling piave with double newline ....
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/include/libxml++-1.0 -I/usr/local/lib/libxml++-1.0/include -I/usr/include/libxml2 -I/usr/include/freetype2 -c server.cc rm -f .libs/server.lo c++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/include/libxml++-1.0 -I/usr/local/lib/libxml++-1.0/include -I/usr/include/libxml2 -I/usr/include/freetype2 -Wp,-MD,.deps/server.pp -c server.cc -fPIC -DPIC -o .libs/server.lo server.cc: In member function `void PIAVE::Server::sendMessage(const std::string&)': server.cc:162: passing `const std::string' as `this' argument of `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::replace(_Alloc::size_type, _Alloc::size_type, const _CharT*, _Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' discards qualifiers server.cc:165: `string' undeclared (first use this function) server.cc:165: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [server.lo] Error 1 make[2]: Leaving directory `/home/booker/cvs/piave/libpiave' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/booker/cvs/piave' make: *** [all-recursive-am] Error 2 [booker at linux piave]$ Am Dienstag 07 Januar 2003 08:39 nachmittags/abends schrieb Jason Wood: > On Tuesday 07 Jan 2003 7:09 pm, Rolf Dubitzky wrote: > > On Tuesday 07 January 2003 07:36 pm, Jason Wood wrote: > > As soon as I use the SAX parser model, I might discover similar problems. > > We'll see. But that has to wait at least till version 1.0 of libxml++ > > which is actually due soon. > > and recieving this error : > > c++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include/SDL -D_REENTRANT > -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include > -I/usr/include/libxml2 -I/usr/local/include/libxml++-1.0 > -I/usr/local/lib/libxml++-1.0/include -I/usr/include/freetype2 > -Wp,-MD,.deps/server.pp -c server.cc -fPIC -DPIC -o .libs/server.lo > server.cc: In member function `void PIAVE::Server::sendMessage(const > std::string&)': > server.cc:162: passing `const std::string' as `this' argument of > `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, > _Traits, _Alloc>::replace(_Alloc::size_type, _Alloc::size_type, const > _CharT*, _Alloc::size_type) [with _CharT = char, _Traits = > std::char_traits<char>, _Alloc = std::allocator<char>]' discards qualifiers > server.cc:165: passing `const std::string' as `this' argument of > `std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, > _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, > _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = > std::allocator<char>]' discards qualifiers > make[2]: *** [server.lo] Error 1 > make[2]: Leaving directory `/home/uchian/piave/libpiave' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/uchian/piave' > make: *** [all-recursive-am] Error 2
