Compile error
Fabrício Godoy
skarllot at gmail.com
Tue Jun 23 01:18:31 UTC 2009
Well, I tried _WIN32_WINNT too.
But, windef.h has following code:
#ifndef WINVER
#define WINVER 0x0400
/*
* If you need Win32 API features newer the Win95 and WinNT then you must
* define WINVER before including windows.h or any other method of including
* the windef.h header.
*/
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT WINVER
/*
2009/6/22 Fridrich Strba <fridrich.strba at bluewin.ch>
> On Mon, 2009-06-22 at 16:39 -0300, Fabrício Godoy wrote:
> > Hi,
> >
> > Unfortunely no, I'm sure that WINVER is defined to 0x0502.
> >
>
> He was speaking about _WIN32_WINNT not about WINVER. Could it be a
> problem?
>
> F.
>
> > 2009/6/21 Erik van Pienbroek <erik at vanpienbroek.nl>
> > Op zondag 21-06-2009 om 17:14 uur [tijdzone -0300], schreef
> > Fabrício
> > Godoy:
> > > I'm getting error compiling in Fedora 11, in Fedora 10 I was
> > compiling
> > > without errors.
> > > Please, see attached file.
> >
> >
> > Hi,
> >
> > The declaration of IP_ADAPTER_ADDRESSES is in the
> > file /usr/i686-pc-mingw32/sys-root/mingw/include/iptypes.h and
> > guarded
> > with a '#if (_WIN32_WINNT >= 0x0501) && defined(_WINSOCK2_H)'
> > block.
> >
> > I guess that the compiler flag '-D_WIN32_WINNT=0x0501' got
> > lost
> > somewhere in your transition from Fedora 10 to Fedora 11.
> >
> > Regards,
> >
> > Erik van Pienbroek
> >
> >
> > _______________________________________________
> > fedora-mingw mailing list
> > fedora-mingw at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
> >
> > _______________________________________________
> > fedora-mingw mailing list
> > fedora-mingw at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
>
>
>
> _______________________________________________
> fedora-mingw mailing list
> fedora-mingw at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/mingw/attachments/20090622/70276527/attachment.html
More information about the mingw
mailing list