Tanke you very much, It worked !!!!

2012/5/18 Vincent Torri <vincent.torri@gmail.com>
On Fri, May 18, 2012 at 5:17 PM, Earnie Boyd
<earnie@users.sourceforge.net> wrote:
> On Fri, May 18, 2012 at 8:56 AM, Vincent Torri <vincent.torri@gmail.com> wrote:
>> On Fri, May 18, 2012 at 2:22 PM, Earnie Boyd
>> <earnie@users.sourceforge.net> wrote:
>>> On Fri, May 18, 2012 at 1:36 AM, Vincent Torri wrote:
>>>>  gcc -o example.exe example.c -lws2_32
>>>> It should work.
>>> No, getaddrinfo is a XP related WINVER.
>>> gcc -o example.exe example.c -lws2_32 -DWINVER=0x0501
>> well, according to
>> http://msdn.microsoft.com/en-us/library/windows/desktop/ms738520%28v=vs.85%29.aspx
>> it is supported from win 2000, which version is 0x0500
> I was looking at the MinGW provided header file.  Care to open the bug report?

done, i didn't know what group corresponds to such bug. I used 'none'

Vincent Torri

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe

TEL 156-1166-2737