Re: error upon compiling SpamProbe 1.2a

Brian Burton <[email protected]>
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
Nikolaus Hiebaum wrote:
> Hello,
> 
> I was just trying to install SpamProbe 1.2a on my server account here and got
> the following error after running 'make'.
> 
> cc' || echo '/usr/home/hiebaum/bin/spamprobe/spamprobe-1.2a/'`HashDataFile.cc
> HashDataFile.cc: In method `void HashDataFile::close()':
> HashDataFile.cc:235: no matching function for call to
> `basic_string<char,string_char_traits<char>,__default_alloc_template<false,0>
> 
>>::clear ()'
> 
> *** Error code 1
> 
> Can you help me out with what's wrong here?

Try changing the line

   m_filename.clear();

to

   m_filename.erase();

and recompile.  I think your version of the C++ stdlib doesn't implement
the clear() method.

All the best,
++Brian



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
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.