Op 11 nov. 2012 09:51 schreef "Jacek Caban" <[email protected]> het
volgende:
>
> On 11/11/12 9:46 AM, Václav Šmilauer wrote:
> > Hello,
> >
> > I got recently hit by compilation error due to dlgs.h (included from
> > windows.h) #defining several macros with common names - in my case rad1,
> > rad2 (for radius 1, radius 2). Are those part of Windows API or could
> > they be renamed to something less prone to conflict with user code, or
> > perhaps defined as safe constants via enum {rad1=0x0420,...} instead of
> > macros?
> >
>
> They are part of Windows API, we can't change them.

You might be able to have them nit defined by defining WIN32_LEAN_AND_MEAN
or something similar (I forget the exact macro) before including windows.h,
because the win32 API is notorious for its macro definitions, they also
have a way to turn some of them off.

Ruben
>
> Jacek
>
>
------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to