[Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to "-std=gnu++11"

Thiago Macieira thiago.macieira at intel.com
Tue Apr 16 00:23:45 CEST 2013


On segunda-feira, 15 de abril de 2013 18.18.36, K. Frank wrote:
> Thank you for the clear answer.  As a follow-up, do you think it is close
> enough to being compilable with c++11 that I might be able to patch it
> myself?   Or would that be a trip down the rabbit hole, so to speak?

I think I tried once and gave up. Their code uses TR1 all over the place, 
which is source-incompatible with finalised C++11.

> > The buildsystem for those *does* remove -std=c++0x and -std=gnu++0x, so if
> > you use the old switches, Qt should compile.
> 
> I don't follow what you mean here.  Could you explain how the build
> system goes about removing -std=gnu++11?  (In my case it didn't.)

It does not remove -std=gnu++11.

it removes -std=gnu++0x if you have that. So I'm recommending you use -
std=gnu++0x instead of -std=c++11.

> And what you mean when you refer to "the old switches"?

See above.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130415/7f7e0b87/attachment.sig>


More information about the Interest mailing list