------- 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

Reply via email to