[GHC] #1609: spurious gcc warnings with non-english language
setting
Christian Maeder
Christian.Maeder at dfki.de
Tue Aug 14 06:19:09 EDT 2007
GHC wrote:
> #1609: spurious gcc warnings with non-english language setting
> ---------------------------------------+------------------------------------
> Reporter: chris at chr-breitkopf.de | Owner:
> Type: bug | Status: new
> Priority: low | Milestone:
> Component: Compiler | Version: 6.6.1
> Severity: minor | Resolution:
> Keywords: | Difficulty: Unknown
> Os: Linux | Testcase:
> Architecture: x86_64 (amd64) |
> ---------------------------------------+------------------------------------
> Comment (by chris at chr-breitkopf.de):
>
> Your gcc seems to emit english messages. I've attached a log of my ghc
> invocation.
>
> The warning does not have further consequences - the programs compile and
> run normally. The problem is entirely harmless - just very irritating.
Right, more and more programs come with translated messages. After one
upgrade I was slightly shocked that 'process killed' was translated to
`Prozess getötet` (with the umlaut wrongly displayed).
Although matching literate messages is no good idea (I saw programs fail
because they expected "yes" instead of "ja") the simplest fix, Simon
Marlow, is to internally set LANG to C or wait for a gcc that allows to
disable this warning properly.
Cheers Christian
More information about the Glasgow-haskell-bugs
mailing list