[Mingw-w64-public] Linker issues?

2014-11-19 Thread Benjamin Dobell
Hi everyone, I'm having an issue using MinGW-w64 g++ - specifically linking. It's complaining WinMain is undefined for a simple Qt project using a Qt static library (libqtmaind.a) that definitely defines WinMain. As can be seen (link below) libqtmaind.a is clearly passed to g++ and should be gett

Re: [Mingw-w64-public] [PATCH] Reformatting the values of AI_*.

2014-11-19 Thread Kai Tietz
Ok. Thanks, Kai 2014-11-19 15:12 GMT+01:00 Dongsheng Song : > OK, here is it. > > --- > mingw-w64-headers/include/ws2tcpip.h | 24 > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git a/mingw-w64-headers/include/ws2tcpip.h > b/mingw-w64-headers/include/ws2

[Mingw-w64-public] [PATCH] Reformatting the values of AI_*.

2014-11-19 Thread Dongsheng Song
OK, here is it. --- mingw-w64-headers/include/ws2tcpip.h | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mingw-w64-headers/include/ws2tcpip.h b/mingw-w64-headers/include/ws2tcpip.h index 4afdfca..3cb29b9 100644 --- a/mingw-w64-headers/include/ws2tcp

Re: [Mingw-w64-public] [patch] Missing defines for ws2tcpip

2014-11-19 Thread Kai Tietz
Hi Alexey, Patch is ok. Please apply (or let it apply). Well, Dongsheng, feel free to send an update-patch doing code-reformatting for it. I am fine by it. Thanks, Kai -- Download BIRT iHub F-Type - The Free Enterprise

Re: [Mingw-w64-public] [patch] Missing defines for ws2tcpip

2014-11-19 Thread Dongsheng Song
Looks better if you align the values of AI_*. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Nativ

Re: [Mingw-w64-public] [patch] Missing defines for ws2tcpip

2014-11-19 Thread Alexey Pavlov
Previous message have patch with typo. Attached new patch. 2014-11-19 10:53 GMT+03:00 Alexey Pavlov : > According to > > http://msdn.microsoft.com/en-us/library/windows/desktop/ms738520(v=vs.85).aspx > we need some missing defines. > > Regards, > Alexey. > From 93d153611f2c9ac471b5879f430b7b4a7c4