After migrating my c++ project from QT version 4.2.8 to version 5.5.0 I get the following errors while compiling for some of my files:
C:\program files (x86)\microsoft sdks\windows\v7.0a\include\rpcndr.h(162): error C2632: 'char' followed by 'int' is illegal
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\wtypes.h(1123): error C2371: 'BOOLEAN' : redefinition; different basic types
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h(959) : see declaration of 'BOOLEAN'
95% of my project is compiling, but the last piece is missing and I don't know where to look anymore.
When I open file rpcndr.h, the error is thrown on the last line of this piece of code.
define small char
typedef unsigned char byte;
typedef byte cs_byte;
typedef unsigned char boolean;
Nowhere in the whole project I use the word boolean, so I don't know where the error message is coming from.
Does anybody have has the same problem? Or maybe kowns the solution?
I don't know anymore.