|
From: Eli Z. <el...@gn...> - 2013-06-27 19:19:54
|
> Date: Thu, 27 Jun 2013 12:01:24 -0700
> From: Kirk Joppy <kir...@gm...>
>
> > I find the following starting on line 109045
>
> > # 217 "H:/MinGW/msys/1.0/local/include/wx-2.8/wx/msw/private.h"
>
> > inline COLORREF wxColourToRGB(const wxColour& c)
> > {
> > return RGB(c.Red(), c.Green(), c.Blue());
> > }
>
> > The various references #include wingdi.h lines are near line 26000.
>
> So yes, it seems wingdi is included before we encounter the RGB macro.
Then I don't know what is going on there. RGB is defined as follows
on my wingdi.h header:
#define RGB(r,g,b) ((COLORREF)((BYTE)(r)|((BYTE)(g) << 8)|((BYTE)(b) << 16)))
Maybe there's another RGB defined somewhere in your sources. I
suggest to grep for RGB.
|