Re: Poll: C++11 compiler support
Sam Varshavchik <[email protected]> Mon, 06 Mar 2017 06:58:54 -0500
| Newsgroups | gmane.mail.cone,gmane.mail.imap.courier.general |
|---|---|
| Message-ID | <[email protected]> |
This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --===============4137103695319191336== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_shorty.email-scan.com-13488-1488801541-0001-2" This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_shorty.email-scan.com-13488-1488801541-0001-2 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Nux! writes: > Hello, > > Got errors with both commands: > CentOS 6 x86_64, gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) > > This could have some impact as CentOS 6 is still pretty used in the ser= ver =20 > world. > > g++ -o utest utest.C > utest.C: In function =E2=80=98int main()=E2=80=99: > utest.C:5: error: =E2=80=98char32_t=E2=80=99 was not declared in this s= cope > utest.C:5: error: expected =E2=80=98;=E2=80=99 before =E2=80=98c=E2=80=99 > utest.C:6: error: =E2=80=98u32string=E2=80=99 is not a member of =E2=80= =98std=E2=80=99 > utest.C:6: error: expected =E2=80=98;=E2=80=99 before =E2=80=98u=E2=80=99 > > g++ -std=3Dc++11 -o utest utest.C > cc1plus: error: unrecognized command line option "-std=3Dc++11" Ok, now try: g++ -std=3Dc++0x -o utest utest.C --=_shorty.email-scan.com-13488-1488801541-0001-2 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJYvU7+AAoJEGs6Yr4nnb8lnFcP+wSIhjLByXInRMzkT65bsBlo G2549g2TlvyfcO+qAfz8/oMvzt15ObJrwA2jwAIW2552qujhhvKdkslk86nanKLe GuLDGEOLkOR7F+9TpilFuw/gzIdsmlMTOrY1+PZy5dHh7q1awOIXACRaIUixswcL v4lKh7vWuEgxY9ygPGYnkjiqjNNyDL0+Jhm1zm6HjPgXhLz3Xe3YzDLvt9gi1F6Q eZ/eY7pEUP4Hi5NIDMK9dx3YIKZZ7kRWgvRV0KzoPTSwnnjVpUJZ9BBefnSKecAr 0DSXgaNcxgeaQ87X2CKw8SnXOlG7xs1hh63SzOVHNozIsXQR/Q0ZnuISY3jTJ09H DXD04Cpvt81qdOPUuLR1d6pTmqjE++nV52yLxy54bFW45+gWFRi21ts1hMpJ4G4o aM6NyoII2xMJiw2CduyE+awDalxPYLRhk9nlZvVVhZcf55evQVd7WfGhKzUcV+KW uCS2ZvpbiNUW6V1TiwqxHa08ut6ktwnQLtRxLqHvWS8qYJE+i4IPZgCN4oO2jQ+W /dt5/2pv1I1wYYnb7Rp6EYAo2/WsFPrNAyXiOIx735ZyI76uNtAo6U/afgw6jJC5 DqwDXnfYn9PmC/Tx2Ko7McMiSUWtKfEuRT0cghlJk72kXEQnOZQhuYfxRKTlQEhY d6aS4jYICKE1Gi1L0HLZ =CSTY -----END PGP SIGNATURE----- --=_shorty.email-scan.com-13488-1488801541-0001-2-- --===============4137103695319191336== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot --===============4137103695319191336== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Courier-cone mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone --===============4137103695319191336==--