GCC 3.2 warns about the use of antiquated C++ in split.cpp. Here's a
patch that uses standard C++.
--- aspell-0.50.3.old/modules/speller/default/split.cpp 2001-11-29 19:55:48.000000000 -0800
+++ aspell-0.50.3/modules/speller/default/split.cpp 2003-01-15 21:29:57.000000000 -0800
@@ -1,4 +1,4 @@
-#include <strstream>
+#include <sstream>
#include "split.hpp"
using namespace std;
@@ -8,7 +8,7 @@
vector<String> split(const String & str) {
vector<String> data;
- istrstream s(str.c_str());
+ istringstream s(str.c_str());
String item;
while (s >> item) {
data.push_back(item);
--
My secret to happiness... is that I have a heart of a 12-year-old boy.
It's over here in a jar. Would you like to see it?
msg00139/pgp00000.pgp
Description: PGP signature
_______________________________________________
Aspell-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/aspell-devel