On quinta-feira, 21 de março de 2013 16.52.29, K. Frank wrote:
> Hello Lists!
>
> Should I expect to be able to build Qt with "-std=c++11" using mingw-w64?

No. The Windows headers that are shipped with MinGW aren't standards-
compliant. You need to compile with -std=gnu++11.

Qt automatically switches to that mode in the modules that require it.

> As I understand it, using "-std=c++11" causes abi breakage, so to do this, I
> will have to recompile the various libraries I use.

Not with Qt. Qt has the very same ABI, whether you compile it with C++11 or
C++98.

> Has anyone built Qt with either gcc 4.7 or 4.8 with "-std=c++11" activated?

I know someone has, since there have been fixes for MinGW and C++11 mode coming
in.

I've been using C++11 and C++0x before that for a couple of years on Linux.
Since GCC 4.4.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to