Poll: C++11 compiler support
Sam Varshavchik <[email protected]> Sun, 05 Mar 2017 15:21:43 -0500
| Newsgroups | gmane.mail.cone,gmane.mail.imap.courier.general,gmane.mail.imap.courier.server,gmane.mail.imap.courier.sqwebmail,gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--===============6568885330584316786==
Content-Type: multipart/signed;
boundary="=_monster.email-scan.com-795-1488745303-0001";
micalg=pgp-sha1; protocol="application/pgp-signature"
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--=_monster.email-scan.com-795-1488745303-0001
Content-Type: text/plain; format=flowed; delsp=yes; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
The forward match of progress is requiring a clean break from the pre-c++11
days. Under consideration is migrating the courier-unicode library, used by
both Courier and Cone, to use C++11's unicode support only.
I am taking a poll whether there's still any notable platforms where Courier
and Cone is used that's still using an old compiler that does not support
C++11.
According to gcc's documentation, gcc 4.8.1 was the first version with full
C++11 support; but it's likely that older versions of gcc had sufficient
support. gcc 4.5's compliance page gives Unicode string literals as
supported, so I'm fairly confident of sufficient C++11 unicode support at
least in gcc 4.5, at the latest.
I'd like to know if your compiler does not support C++11 unicode strings.
This can be determined with a simple test:
#include <string>
int main()
{
char32_t c=0;
std::u32string u;
return 0;
}
Save the above as "utest.C", then execute either:
g++ -o utest utest.C
or
g++ -std=c++11 -o utest utest.C
If either one completes without errors, you're good. This is if your
compiler is "g++", of course. Certain platforms, like Debian, FreeBSD, and
many others, might have multiple versions of gcc installed; typically as
"g++NN". Use the appropriate command for your gcc.
--=_monster.email-scan.com-795-1488745303-0001
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
iQIcBAABAgAGBQJYvHNXAAoJEGs6Yr4nnb8lf0gP/indYN2ZYhwmihDo6q1vhaot
zVZ3mmDlwKqsA7g/QKNQshwFwGkJQsPMIvQfdGM95HexfbcvzgXXThSz4mdzj1op
eA1uD83P/wFdKI9+i3nhhUJjjrSeeSf0HMItSDLBpAy1Tgu1V7zl/MFLmIcqUwO2
MMHMcLIiFH5W/DbZZdfTLDPs5cTTCQU/9b/xt63ufV9ZKD4KGKkRPJORlB3p0gCZ
cJFOksB7L11Kjp/uKtQM5UJB2/TwVNrrL3SwCqsrhpsbKDQ3grTqL5XiUM0sFlB3
AkHvgRb4TFwIo2DeBnNXA/11Hhl+Ilbany8mAoH2e4CnAPYWxuenYZ6Dft9vc+B2
7WDn57YA//0JGTHhndoapaN8Y8bCto4f9prd+c0J9p9oQo4zT5Ff4ToJHms5xChM
kjL+uNUnXI1S3UYqXJM8/0GvIdwoA1gkC3wJsZOG1suFrAZhLJhylVrfVwJ37TR2
31rDcSTkK94mT5rQXXPQJukXzLtXtQSNdE+dIQMYCwlYz2vpeyKvE70/b82e4dlo
0p1slvv/63bcfN2e4873j0j4x6kSVosP6ffxVpBImoY1flaonkwLhWa/8LUd/fVK
ciwizTXzY2iKOeUGRCOGE0AlyW92+ypF0zQPkreIZ6U91wpF9tp/UQKRfjUj+7WC
RyMlj5U1Uc8a7luFGTa0
=nwNf
-----END PGP SIGNATURE-----
--=_monster.email-scan.com-795-1488745303-0001--
--===============6568885330584316786==
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
--===============6568885330584316786==
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
--===============6568885330584316786==--