Package: mingw-w64-dev
Version: 2.0.1+svn4784-2
Severity: normal

Hi Stephen,

Including windns.h leads to a compilation error:

snoopy:~$ cat b.cpp
#include <windns.h>
int main (void)
{
  return 0;
}
snoopy:~$ i686-w64-mingw32-g++ b.cpp
In file included from b.cpp:1:0:
/usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/windns.h:15:3: error: ‘__MINGW_EXTENSION’ does not name a type /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/windns.h:16:11: error: ‘LONG’ does not name a type /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/windns.h:17:11: error: ‘DWORD’ does not name a type /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/windns.h:24:5: error: ‘DWORD’ does not name a type /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/windns.h:25:5: error: ‘IP4_ADDRESS’ does not name a type /usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/windns.h:32:5: error: ‘DWORD’ does not name a type
[...]

Thank you!
Eugen

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to