[Clam-devel] Guilty commits. TestFarm in red!!

David García Garzón dgarcia at iua.upf.edu
Mon Jul 23 05:44:00 PDT 2007


On Monday 23 July 2007 14:40:46 David García Garzón wrote:
> I suspect that windows.h defines 'Yield' as a macro as it did
> with 'GetClassName'.
>
> On Monday 23 July 2007 14:30:23 David García Garzón wrote:
> > Greg, you broke windows...
> >
> > David, aka the 'automatic' script we never wrote.

Confirmed, in windows 'Yield' is defined as macro. But i cannot find the 
offending include. Maybe pthread.h. In any case you have two solutions:
* Renaming the method
* Adding the following:
 #ifdef Yield 
 #undef Yield
 #endif

David.





More information about the clam-devel mailing list