[cfe-dev] Compiling clang on Windows/TDM-GCC 4.8.1-3 (MinGW32)
Eran Ifrah
eran.ifrah at gmail.com
Thu Sep 11 10:29:41 PDT 2014
The header file is included indirectly (<winnt.h>). However, the
definitions are not visible since _WIN32_WINNT is set to a value lower than
0x0502
Attached is a patch to the CMakeLists.txt file that adds
-D_WIN32_WINNT=0x0502 in case of MinGW and WIN32 conditions are met
Thanks
On Thu, Sep 11, 2014 at 7:57 PM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> On 11 September 2014 12:22, Eran Ifrah <eran.ifrah at gmail.com> wrote:
> > Hi,
> > The latest trunk can't be built with GCC 4.8.1-3 on Windows (MinGW, TDM
> > build) - missing registery definitions
> > Applying the attached patch fixs this
>
>
> Inst't there an include we can use?
>
> Cheers,
> Rafael
>
--
Eran Ifrah,
Author of codelite, a cross platform open source C/C++ IDE:
http://www.codelite.org
CodeLite IDE Blog: http://codeliteide.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140911/318070c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw32-reg.patch
Type: application/octet-stream
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140911/318070c7/attachment.obj>
More information about the cfe-dev
mailing list