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

Olly Betts olly at survex.com
Tue May 5 16:10:30 BST 2009


On Tue, May 05, 2009 at 03:55:09PM +0100, James Aylett wrote:
> On Tue, May 05, 2009 at 02:57:05PM +0100, Olly Betts wrote:
> 
> > http://msdn.microsoft.com/en-us/library/fx3e68bw(VS.80).aspx
> > 
> > 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.

Cheers,
    Olly



More information about the Xapian-devel mailing list