[Interest] Compile error with windows kit 8.1

Mathieu Slabbinck matty.slabbinck at gmail.com
Tue Aug 25 08:44:16 CEST 2015


On Mon, Aug 24, 2015 at 6:19 PM, Thiago Macieira
<thiago.macieira at intel.com> wrote:
> On Monday 24 August 2015 17:54:40 Mathieu Slabbinck wrote:
>> On Mon, Aug 24, 2015 at 5:35 PM, Thiago Macieira
>>
>> <thiago.macieira at intel.com> wrote:
>> > On Monday 24 August 2015 11:17:13 Mathieu Slabbinck wrote:
>> >> C:\Program Files (x86)\Windows Kits\8.1\Include\shared\ws2def.h:905:
>> >> error: Can't concatenate non identifier tokens
>> >
>> > Looks like your version of MinGW is not compatible with your Windows SDK
>> > headers. This is not a Qt problem, sorry.
>> >
>> > Try downgrading the Windows SDK or upgrading MinGW.
>> >
>> > In any case, doesn't mingw come with its own ws2def.h? The one I have here
>> > from cross-mingw is 38 lines long, so it couldn't cause a problem on line
>> > 905.
>>
>> Hi,
>>
>> it's not a mingw build. It's precompiled qt binaries for msvc2010.
>
> Are you sure? The error message does not look like an MSVC error. MSVC errors
> are prefixed with a Xnnnn, where X is a letter and nnnn are the 4-digit error
> codes. The line number is printed in parentheses, not after a colon.
>
> It looks to me like you're running MinGW.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
Quite sure,
I have a qt5.5.0 which I've statically built myself against msvc2010
and it give the same issue...
I don't recall even installing anything mingw related. Anyhow, is
there an easy check to make on how to verifiy it it's trying to use
something mingw related?



More information about the Interest mailing list