Compiler version
Thiago Macieira
thiago at kde.org
Thu Jun 28 20:20:54 BST 2012
On quinta-feira, 28 de junho de 2012 18.53.03, vivo75 at gmail.com wrote:
> Il 28/06/2012 16:31, Thiago Macieira ha scritto:
> > On quinta-feira, 28 de junho de 2012 14.38.37, vivo75 at gmail.com wrote:
> >> actually for stability and feature related to c++11 gcc-4.7 is nearly
> >> the minimum, but in my experience gcc-4.7 is still a bit rough so +1 for
> >> gcc-4.6
> >
> > That's nonsense. C++11 support in GCC 4.5 and 4.6 is just fine.
>
> Thiago you work to qt5 which include the c++11 stuff, so probably you
> know better than rumors around, must admit that I've spoken by those
> rather than an extended experience in the field.
We may not be talking about the same thing.
> What made me think the rumors were true is:
> a) many programs which support to be compiled with c++11 syntax require
> gcc-4.7
It depends on which C++11 feature you're using. Qt has an #define for each of
them so you can know if the compiler supports such a feature.
Qt does not require C++11 and will not for many years. What's more, any
program requiring full and unrestricted C++11 support will be extremely niche
and not very popular until at least 2014. For those of us living in the real
world, we have to accept that C++11 support is limited and therefore limit
what we use of it.
That being the case, GCC 4.5 and 4.6 are more than enough.
> b) that the resolved/fixed bug list is rather long:
I used GCC 4.5 and 4.6 each for a year and I don't remember any serious bugs
with them.
There was one bug I reported (I think it was 4.5), which wasn't promptly fixed
because it was in C++11 and that was experimental. Another issue I remember,
which is definitely non-fatal, is that constexpr variables end up in the .data
section instead of the .rodata one in 4.6.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- 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://mail.kde.org/pipermail/kde-core-devel/attachments/20120628/6a233d35/attachment.sig>
More information about the kde-core-devel
mailing list