Thank you,
I got this error with both mingw-builds-32-4.7.2-posix-sjlj-rev2 and
mingw-builds-64-4.7.2-posix-sjlj-rev2.
Maybe they become stricter in this revision.

Regards,
Bruno cabral
On Dec 6, 2012 2:03 AM, "Koehne Kai" <[email protected]> wrote:

> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf
> > Of Bruno Cabral
> > Sent: Wednesday, December 05, 2012 10:04 PM
> > To: [email protected]
> > Subject: [Interest] Can't compile Qt 5.0 RC with Mingw,
> >
> > Hi
>
> Hi,
>
> > I followed the instructions on http://qt-project.org/wiki/MinGW-64-bit
> > But but no matter what, I can't get Qt to compile.
> > I already tried the mingw-32 and 64.
> > Looks like an unicode error,
> > I get the error :
> > io\qprocess_win.cpp: In function 'void qt_create_pipe(void**, bool)':
> > io\qprocess_win.cpp:85:58: error: invalid conversion from 'const
> wchar_t*'
> > to 's
> > ize_t {aka long long unsigned int}' [-fpermissive] In file included from
> > c:\qt\mingw64-4.7.2\bin\../lib/gcc/x86_64-w64-mingw32/4.7.
> > 2/include/c++/cstdio:44:0, from
> > c:\qt\mingw64-4.7.2\bin\../lib/gcc/x86_64-w64-mingw32/4.7.
> > 2/include/c++/random:39,
> > Can anyone help me with this ?
>
> Looks indeed like we should change the code, since swprintf(wchar_t*,
> wchar_t*) isnt' compliant to the latest C standards (at least that's what
> http://www.cplusplus.com/forum/general/6612/ suggests).
>
> Anyhow, qprocess_win.cpp compiles fine for me with both
> mingw-builds-32-4.7.2-posix-sjlj-rev1,
> mingw-builds-64-4.7.2-posix-sjlj-rev1, a stock mingw.org  ,
> tdm64-gcc-4.7.1-3.exe and finally a recent build from RubenV . Which
> toolchain / version of MinGW-w64 are you using?
>
> Regards
>
> Kai
>
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to