Bug#258477: myspell: FTBFS with gcc-3.4: extra `;'
Package: myspell
Severity: normal
Tags: patch
When building 'myspell' with gcc-3.4 I get the following error:
/usr/bin/make CXXFLAGS="-g -Wall -ansi -pedantic -O2" CFLAGS="-g -Wall -ansi -pedantic -O2" CXX="g++" CC="gcc"
make[1]: Entering directory `/myspell-3.0+pre3.1'
g++ -fPIC -g -Wall -ansi -pedantic -O2 -c example.cxx
g++ -fPIC -g -Wall -ansi -pedantic -O2 -c affentry.cxx
g++ -fPIC -g -Wall -ansi -pedantic -O2 -c affixmgr.cxx
g++ -fPIC -g -Wall -ansi -pedantic -O2 -c hashmgr.cxx
g++ -fPIC -g -Wall -ansi -pedantic -O2 -c suggestmgr.cxx
g++ -fPIC -g -Wall -ansi -pedantic -O2 -c csutil.cxx
csutil.cxx:4099: error: extra `;'
csutil.cxx:4133: error: extra `;'
make[1]: *** [csutil.o] Error 1
make[1]: Leaving directory `/myspell-3.0+pre3.1'
make: *** [build-stamp] Error 2
With the attached patch 'myspell' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/myspell-3.0+pre3.1/csutil.cxx ./csutil.cxx
--- ../tmp-orig/myspell-3.0+pre3.1/csutil.cxx 2004-01-04 21:29:49.000000000 +0100
+++ ./csutil.cxx 2004-07-06 21:06:35.745348780 +0200
@@ -3836,7 +3836,7 @@
}
}
return ccs;
-};
+}
@@ -3869,5 +3869,5 @@
}
}
return NULL;
-};
+}
Reply to: