This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/80190] New: darwin: untranslateable placeholder "non-ASCII character"


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 _(...).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]