[Bug c++/56959] unable to find string literal operator ‘operator

2013-04-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56959 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2013-04-14 22:15:59 UTC --- Are you using -std=c++11 or -std=gnu++11 or -std=c++0x or -std=gnu++-0x ? If this is the correct behavior as the strCopyRight in this case is the

[Bug c++/56959] unable to find string literal operator ‘operator

2013-04-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56959 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/56959] unable to find string literal operator ‘operator

2013-04-14 Thread daffra.claudio at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56959 --- Comment #3 from claudio daffra daffra.claudio at gmail dot com 2013-04-14 22:43:34 UTC --- no bug, std=c++11

[Bug c++/56959] unable to find string literal operator ‘operator

2013-04-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56959 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2013-04-14 22:48:00 UTC --- Also, the backslashes are a complete waste of time, you can just write: const char *s = \n strCopyRight \n\nUsage :\n \nstrProjectName : input file