[PyQt] SIP converts unsigned int into unknown type

2010-09-13 Thread Hans Meine
Hi, I am trying to compile SIP-exported modules using MSVC2008 instead of GCC/mingw. A problem arises because SIP silently transforms 'unsigned int' from my .sip files into 'uint' declarations (e.g. for a0/sipRes) in the sip*cpp files, and MSVC chokes on that (undeclared type). (It is

Re: [PyQt] SIP converts unsigned int into unknown type

2010-09-13 Thread Phil Thompson
On Mon, 13 Sep 2010 15:36:01 +0200, Hans Meine me...@informatik.uni-hamburg.de wrote: Hi, I am trying to compile SIP-exported modules using MSVC2008 instead of GCC/mingw. A problem arises because SIP silently transforms 'unsigned int' from my .sip files into 'uint' declarations (e.g. for

Re: [PyQt] SIP converts unsigned int into unknown type

2010-09-13 Thread Hans Meine
Am Montag 13 September 2010, 15:48:32 schrieb Phil Thompson: Hmm - try adding... typedef unsigned int uint; to the sip.h in the siplib directory. Actually, I considered simply putting that into my %ModuleHeaderCode, but wouldn't that lead to problems when I start #include'ing headers