qt 3.1 port planing: w32 specific header file locations?
Ralf Habacker
kde-cygwin@mail.kde.org
Sun, 24 Nov 2002 21:00:35 +0100
> On Saturday 16 November 2002 02:25 am, Ralf Habacker wrote:
>
> I'm not very familiar with cygwin, so I need some here.
>
> network/qdns.cpp:2134: 'DWORD' is used as a type, but is not defined as a
> type.
> network/qdns.cpp:2141: 'UINT' is used as a type, but is not defined as a type.
> network/qdns.cpp:2143: 'UINT' is used as a type, but is not defined as a type.
> network/qdns.cpp:2144: 'UINT' is used as a type, but is not defined as a type.
> network/qdns.cpp:2145: 'UINT' is used as a type, but is not defined as a type.
> network/qdns.cpp:2148: `WINAPI' was not declared in this scope
> network/qdns.cpp:2148: `GNP' was not declared in this scope
> network/qdns.cpp:2148: type specifier omitted for parameter `PULONG'
> network/qdns.cpp:2148: ISO C++ forbids declaration of `DWORD' with no type
> network/qdns.cpp:2148: typedef declaration includes an initializer
> network/qdns.cpp:2148: confused by earlier errors, bailing out
>
> It looks like DWORD is typedef'd in winnt.h, I was going to add #include
> <winnt.h> to qt_windows.h, is the correct?
>
> qt_windows.h #includes <windows.h>, which I -thought- would define
> all the w32
> specific headers needed to compile cygwin stuff.
>
Yes, the version I have checked in already contains this.
Ralf