qt 3.1 port planing: w32 specific header file locations?

Bob Tanner kde-cygwin@mail.kde.org
Sun, 24 Nov 2002 04:59:37 -0600


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=
=20
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 typ=
e
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=20
<winnt.h> to qt_windows.h, is the correct?

qt_windows.h #includes <windows.h>, which I -thought- would define all th=
e w32=20
specific headers needed to compile cygwin stuff.
=20
--
Bob Tanner <tanner@real-time.com>         | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
http://www.linuxjustworks.com             | Linux Just Works!        =20
Key fingerprint =3D AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288