This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48740] Raw C++0x strings and trigraphs mix badly
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 23 Apr 2011 11:14:25 +0000
- Subject: [Bug c++/48740] Raw C++0x strings and trigraphs mix badly
- Auto-submitted: auto-generated
- References: <bug-48740-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48740
--- Comment #8 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2011-04-23 11:14:01 UTC ---
(In reply to comment #7)
> Created attachment 24079 [details]
> Sorry for the typo, that's what you get for extracting test case. This one is
> better.
I cannot reproduce this warning with gcc 4.7. If I create a program with
observable behaviour like this:
#include <cstdio>
char const *R = R"raw(foo%sbar%sfred%sbob?????)raw";
int main()
{
std::printf("%s\n", R);
}
the output is loss-free and whithout remaining trigraph transformations:
foo%sbar%sfred%sbob?????