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

Greg Kellum greg.kellum at gmail.com
Mon Jul 23 05:56:02 PDT 2007


Hi David,

I used your second suggestion.  Apparently, the header <wx/app.h> is causing
problems, and it is included by windows.h.  Let's see if it compiles now...

Best,
Greg

On 7/23/07, David García Garzón <dgarcia at iua.upf.edu> wrote:
>
>
> 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.
>
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070723/98495ecb/attachment-0004.htm>


More information about the clam-devel mailing list