public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/38308] -Wformat does not work for wide strings Date: Fri, 28 Nov 2008 17:27:00 -0000 [thread overview] Message-ID: <20081128172609.22919.qmail@sourceware.org> (raw) In-Reply-To: <bug-38308-7849@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from joseph at codesourcery dot com 2008-11-28 17:26 ------- Subject: Re: -Wformat does not work for wide strings In view of the removal of c4x support I don't now think any patch for this needs to address the format of STRING_CSTs for non-8-bit target bytes. But it should still have appropriate accessors for extracting bytes / multibyte characters / wide characters from strings (such that support for non-8-bit target bytes could be added to those accessors later), though without necessarily finding all existing code that should be using those accessors. See also bug 20110 on the format checking not allowing for the execution character set once it's extracted a character from the string. For wide characters it's -fwide-exec-charset that's relevant. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38308
next prev parent reply other threads:[~2008-11-28 17:27 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-11-28 16:38 [Bug c/38308] New: " bonzini at gnu dot org 2008-11-28 17:00 ` [Bug c/38308] " pinskia at gcc dot gnu dot org 2008-11-28 17:27 ` joseph at codesourcery dot com [this message] 2008-11-29 3:13 ` pinskia at gcc dot gnu dot org [not found] <bug-38308-4@http.gcc.gnu.org/bugzilla/> 2012-06-08 18:43 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20081128172609.22919.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).