Re: [Mingw-w64-public] [PATCH] Move asprintf and vasprintf into libmingwex.a instead of being inline funcions in stdio.h

2012-07-01 Thread JonY
On 7/1/2012 22:25, Kai Tietz wrote: > Hi, > > why should we remove asprintf? I think the correct patch would be to > remove the inline-version of asprintf and vasprintf and to rename the > prototypes __mingw_asprintf to asprintf and __mingw_vasprintf to > vasprintf. Additionally of course the im

Re: [Mingw-w64-public] [PATCH] Move asprintf and vasprintf into libmingwex.a instead of being inline funcions in stdio.h

2012-07-01 Thread Kai Tietz
Hi, why should we remove asprintf? I think the correct patch would be to remove the inline-version of asprintf and vasprintf and to rename the prototypes __mingw_asprintf to asprintf and __mingw_vasprintf to vasprintf. Additionally of course the implementation-files in crt have to be renamed to.

Re: [Mingw-w64-public] [PATCH] Move asprintf and vasprintf into libmingwex.a instead of being inline funcions in stdio.h

2012-07-01 Thread Ray Donnelly
Updated patch, asprintf removed entirely, vasprintf moved from stdio.h into the .a (gcc can't inline varargs functions anyway). On Sat, Jun 30, 2012 at 5:44 PM, JonY wrote: > On 6/30/2012 22:23, Ray Donnelly wrote: >> Hi guys, >> >> I've attached a fairly simple patch as requested by Kai on IRC w

Re: [Mingw-w64-public] MinGW-w64 does not work for Qt5

2012-07-01 Thread Loaden
Here is the verbose log: > loaden@qpsoft:~/qpSOFT/Projects/Qbs/tests/manual/uic$ > /usr/bin/x86_64-w64-mingw32-g++ -v -m64 -O2 -Wall -W > /home/loaden/qpSOFT/Projects/Qbs/tests/manual/uic/build/m64-mingw64-release/.obj/ui/bla.o > -o > /home/loaden/qpSOFT/Projects/Qbs/tests/manual/uic/build/m64-min

Re: [Mingw-w64-public] MinGW-w64 does not work for Qt5

2012-07-01 Thread Ruben Van Boxem
Op 1 jul. 2012 14:28 schreef "Loaden" het volgende: > > The 'WinMain' entry function compiled in libmain.a, the issue is: mingw-w64 can't find the function, but it is exist. > Same code can be compilation use MSVC / Linux GCC. > Only does not work with MinGW-w64. Something is wrong with Qt5's bui

Re: [Mingw-w64-public] MinGW-w64 does not work for Qt5

2012-07-01 Thread Loaden
The 'WinMain' entry function compiled in libmain.a, the issue is: mingw-w64 can't find the function, but it is exist. Same code can be compilation use MSVC / Linux GCC. Only does not work with MinGW-w64. > > #include "qt_windows.h" > #include "qbytearray.h" > #include "qstring.h" > #include "qvect

Re: [Mingw-w64-public] MinGW-w64 does not work for Qt5

2012-07-01 Thread JonY
On 7/1/2012 17:19, Loaden wrote: > https://sourceforge.net/tracker/?func=detail&aid=3539247&group_id=202880&atid=983354 > >> /usr/bin/x86_64-w64-mingw32-g++ -m64 -O2 -Wall -W >> /home/loaden/qpSOFT/Projects/Qbs/tests/manual/uic/build/m64-mingw64-release/.obj/ui/bla.o >> -o >> /home/loaden/qpSOFT/P

[Mingw-w64-public] MinGW-w64 does not work for Qt5

2012-07-01 Thread Loaden
https://sourceforge.net/tracker/?func=detail&aid=3539247&group_id=202880&atid=983354 > /usr/bin/x86_64-w64-mingw32-g++ -m64 -O2 -Wall -W > /home/loaden/qpSOFT/Projects/Qbs/tests/manual/uic/build/m64-mingw64-release/.obj/ui/bla.o > -o > /home/loaden/qpSOFT/Projects/Qbs/tests/manual/uic/build/m64-mi