A couple of questions about Aspell

Johnny Pickle <[email protected]>
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
Hello Aspell Developer List,

First I would like to thank you for the time an effort you and others 
have put into creating Aspell. 

I work for a company called IDM which develops a text editor known as 
Ultraedit.  For the last couple of releases we have been using aspell as 
the dictionary.  We have been using the old vc++ library for version 
0.50.4.1.  In order to support user demand, we have ported over aspell 
version 0.60.4 to vc6.  We will of course make the modified source 
available to the public when we release.  With this said, I have two 
questions:  Is there any way to decrease the number of suggestions 
besides using sug-mode ultra?  Even when using the sug-mode ultra a 
simple spelling mistake such as tessst can return many suggestions.   
Second, what would be your approved method of resolving the following 
compiler error?

--------------------Configuration: aspell - Win32 Debug--------------------
Compiling...
string_map.cpp
c:\documents and settings\jpickle.domain\my 
documents\aspell\common\hash-t.hpp(196) : error C2300: 
'acommon::StringPair' : class does not have a destructor called '~Value'
        c:\documents and settings\jpickle.domain\my 
documents\aspell\common\hash.hpp(163) : while compiling class-template 
member function 'void __thiscall acommon::HashTable<struct 
acommon::StringMap::Parms>::del(void)'
affix.cpp
suggest.cpp
c:\documents and settings\jpickle.domain\my 
documents\aspell\common\hash-t.hpp(196) : error C2300: 'acommon::String' 
: class does not have a destructor called '~Value'
        c:\program files\microsoft visual 
studio\vc98\include\xmemory(70) : while compiling class-template member 
function 'void __thiscall acommon::HashTable<struct 
acommon::HashSetParms<class acommon::String,struct 
acommon::HashString<class acommo
n::String>,struct std::equal_to<class acommon::String>,0> >::del(void)'
writable.cpp
c:\documents and settings\jpickle.domain\my 
documents\aspell\common\hash-t.hpp(196) : error C2300: 'std::pair<char 
const * const,class acommon::Vector<char const *> >' : class does not 
have a destructor called '~Value'
        c:\program files\microsoft visual 
studio\vc98\include\xmemory(59) : while compiling class-template member 
function 'void __thiscall acommon::HashTable<struct 
acommon::HashMapParms<char const *,class acommon::Vector<char const 
*>,struct acomm
on::hash<char const *>,struct std::equal_to<char const *>,0> >::del(void)'
Error executing cl.exe.

aspell6.dll - 3 error(s), 0 warning(s)

The error occurs in:
  template <class P>
  void HashTable<P>::del()
  {
    for (Node * * i = table_; i != table_end_; ++i) {
      Node * n = *i;
      while (n != 0) {
          n->data.~Value();    <= Causing error.
          n = n->next;
      }
    }
    free (table_);
    size_ = 0;
    node_pool_.clear();
    table_ = 0;
    table_size_ = 0;
    prime_index_ = 0;
  }

Thanks In Advance,
Johnny Pickle

-- 
----------------------------------------------------------------------
Johnny Pickle                                      Tel: (513) 892-8600
IDM Computer Solutions, Inc.                       Fax: (513) 892-4915    
3987 Hamilton-Middletown Rd., Unit G               [email protected]
Indian Springs, OH  45011                       http://www.idmcomp.com
----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.