Joost Verburg wrote:
> Peter Kümmel wrote:
>> When I start the spell checker lyx crashes because of
>> the debug code in stl:
>> I think this is a aspell problem. The only chance we have is that it
>> works in
>> the release mode, start compiling know.
> 
> The release version crashes for me as well. Do you think it is possible
> to solve this Aspell bug?
> 
> Joost
> 
> 

There was a bug in their vector.hpp implementation. With the patch it don't
crashes any more but now I have a other error message from aspell :

.../standart.kbd:3: The string "qw" is invalid.

The good news is that I've the same message with the cvs version
(the lyx patches now also work for the cvs version).

Please try it again with the patched vector.hpp and your aspell
installation, maybe it is my aspell installation why it fails.

Peter


Index: common/vector.hpp
===================================================================
RCS file: /sources/aspell/aspell/common/vector.hpp,v
retrieving revision 1.15
diff -u -b -B -r1.15 vector.hpp
--- common/vector.hpp   3 May 2005 05:08:19 -0000       1.15
+++ common/vector.hpp   30 Aug 2006 17:10:11 -0000
@@ -47,13 +47,13 @@
     }
     T * data() {return &*this->begin();}
     T * data(int pos) {return &*this->begin() + pos;}
-    T * data_end() {return &*this->end();}
+    T * data_end() {return &this->back();}

     T * pbegin() {return &*this->begin();}
-    T * pend()   {return &*this->end();}
+    T * pend()   {return &this->back();}

     const T * pbegin() const {return &*this->begin();}
-    const T * pend()   const {return &*this->end();}
+    const T * pend()   const {return &this->back();}

     template <typename U>
     U * datap() {

Reply via email to