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 server world.

g++ -o utest utest.C
utest.C: In function ‘int main()’:
utest.C:5: error: ‘char32_t’ was not declared in this scope
utest.C:5: error: expected ‘;’ before ‘c’
utest.C:6: error: ‘u32string’ is not a member of ‘std’
utest.C:6: error: expected ‘;’ before ‘u’

g++ -std=c++11 -o utest utest.C
cc1plus: error: unrecognized command line option "-std=c++11"

Ok, now try:

g++ -std=c++0x -o utest utest.C


Attachment: pgpTfWsdaGJrm.pgp
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to