This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/70952] Missing warning for likely-erroneous octal escapes in string literals
- From: "amonakov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Jan 2018 16:32:38 +0000
- Subject: [Bug c/70952] Missing warning for likely-erroneous octal escapes in string literals
- Auto-submitted: auto-generated
- References: <bug-70952-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70952
--- Comment #7 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Code in comment #0 is also valid, it's just rather questionable (the octal
literal is \00) and most likely unintended (or intentionally misleading).