This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Fwd: Patch for Recovery from Bad Multibyte Characters]
Jason Merrill wrote:
> > In the absence of one of the magic LANG settings, the implementation uses
> > mblen and mbtowc as defined by the host locale (when configured with
> > --enable-c-mbchar). It is possible that some locales support other multibyte
> > character sets than JIS, SJIS and EUCJP.
>
> All I know is that it breaks in nightly testing, when no LANG is set.
Perhaps the test needs to be reclassified. The warnings are legitemate on the
platforms on which they occur. What's the proper way to classify a test that may or
may not emit warnings depending on the platform and/or configuration?
Dave