[cfe-dev] Compiling clang on Windows/TDM-GCC 4.8.1-3 (MinGW32)
Aaron Ballman
aaron at aaronballman.com
Thu Sep 11 10:46:14 PDT 2014
On Thu, Sep 11, 2014 at 1:32 PM, Rafael EspĂndola
<rafael.espindola at gmail.com> wrote:
> On 11 September 2014 13:29, Eran Ifrah <eran.ifrah at gmail.com> wrote:
>> 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
>
> Not sure which one is better. Aaron, any thoughts?
I think we should be setting WINVER and _WIN32_WINNT to
_WIN32_WINNT_WS03 (0x0502) in WindowsSupport.h. We currently set it to
0x0501, and it sounds like we want to update it. I don't think that
requiring Win XP SP 2 will be that problematic in practice, but we
should be aware that we would be changing the minimum required version
of Windows (slightly).
~Aaron
More information about the cfe-dev
mailing list