This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/80190] New: darwin: untranslateable placeholder "non-ASCII character"
- From: "roland.illig at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 25 Mar 2017 23:45:22 +0000
- Subject: [Bug target/80190] New: darwin: untranslateable placeholder "non-ASCII character"
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80190
Bug ID: 80190
Summary: darwin: untranslateable placeholder "non-ASCII
character"
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
Target Milestone: ---
from config/darwin.c:
warning (darwin_warn_nonportable_cfstrings, "%s in CFString literal",
s[l] ? "non-ASCII character" : "embedded NUL");
When running GCC in a German locale, the placeholder %s will still be output in
English since it is not marked for translation. Both string literals must be
surrounded by _(...).