public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39167]  New: minor locale issue with gcc
@ 2009-02-12 11:10 pmlopes at jetcube dot eu
  2009-02-26 23:01 ` [Bug target/39167] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: pmlopes at jetcube dot eu @ 2009-02-12 11:10 UTC (permalink / raw)
  To: gcc-bugs

Compiling the following fragment with gcc -Wall gives me a warning
about an unused variable, gcc -Wall -Werror turns that into an error.

int main(int argc, char **argv) {
int i;
return 0;
}

The issue here is if I run this on e.g. XP UK I get messages containing
"warning:" and "error:". Doing the same under XP JPN gives me "error:" and
something unreadable for the warning case (looks like an attempt to read
from a bogus pointer).

I guess that NLS under windows doesn't work as on linux...


-- 
           Summary: minor locale issue with gcc
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pmlopes at jetcube dot eu
  GCC host triplet: i86-win32-pe


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39167


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/39167] minor locale issue with gcc
  2009-02-12 11:10 [Bug c/39167] New: minor locale issue with gcc pmlopes at jetcube dot eu
@ 2009-02-26 23:01 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-02-26 23:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-02-26 23:01 -------
Actually more likely the locale is UTF8 and not the codepage which was being
thought of.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target
   GCC host triplet|i86-win32-pe                |i686-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39167


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-26 23:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-12 11:10 [Bug c/39167] New: minor locale issue with gcc pmlopes at jetcube dot eu
2009-02-26 23:01 ` [Bug target/39167] " pinskia at gcc dot gnu dot org

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