[Xapian-devel] str.h warning in MSVC 9.0

James Aylett james-xapian at tartarus.org
Tue May 5 16:34:14 BST 2009


On Tue, May 05, 2009 at 04:10:30PM +0100, Olly Betts wrote:

> > > There's no relational operator involved here, so this warning seems to
> > > be misfiring.
> > 
> > I'm going to take a guess and say it may be firing because it's
> > turning ('0' | value) into ('0'==true | value) or similar internally.
> 
> That would be a bogus transformation though, as this is a *bitwise* or.

D'oh. You're absolutely right. Ok, I have no idea.

J

-- 
  James Aylett

  talktorex.co.uk - xapian.org - uncertaintydivision.org



More information about the Xapian-devel mailing list