[Xapian-discuss] Warning compiling 0.8.1

Francis Irving francis at flourish.org
Thu Jul 8 10:36:00 BST 2004


On Wed, Jul 07, 2004 at 01:00:51PM +0100, Olly Betts wrote:
> > omenquire.cc:883: warning: control reaches end of non-void
> > function `Xapian::Enquire::Internal::calc_matching_terms(unsigned int)
> > const'
> 
> If you're using GCC 2.95, then no.  It's a compiler bug and the warning
> is bogus.  It's happened with older Xapian versions too.

Aha!  Yes, we are using GCC 2.95.

Ben must have had extra-eagle eyes while compiling this time.
 
> > Also, you could set -Werror to force yourselves to fix warnings.
> 
> I do, but this one isn't our fault!

Apologies for presuming otherwise.

Francis



More information about the Xapian-discuss mailing list