[cfe-dev] Extra #defines for Windows SDK 6.0a/VS2008

Francois Pichet pichet2000 at gmail.com
Thu Aug 5 08:33:09 PDT 2010


I don't think WIN32_LEAN_AND_MEAN should be predefined in clang
because it is not a predefined macro. It is generally defined in
stdafx.h and some projects actually need to compile without
WIN32_LEAN_AND_MEAN. If you need it use -DWIN32_LEAN_AND_MEAN.


On Thu, Aug 5, 2010 at 8:58 AM, per at lumai.se <per at lumai.se> wrote:
> Hi all,
>
> here's a proposed patch for
> clang/lib/Basic/Targets.cpp::VisualStudioWindowsX86_32TargetInfo that adds
> three new defines. This allows <windows.h> pass clang compilation both in C
> and C++. Comments?
>
> --
> Per Lindén
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>




More information about the cfe-dev mailing list