minor locale issue with psp-gcc
Brought to you by:
pmml
Compiling the following fragment with psp-gcc -Wall gives me a warning about an unused variable, psp-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).
1. Why is this locale dependent (I'm surprised it is)?
2. While this is not too big an issue, what can be done to fix it?
Thanks
marko.lukat@kyi.biglobe.ne.jp
By default I'm building the NLS messages from GCC and BINUTILS, so you can get the error messages in the natural language of your OS, actually I never tried it in other languages than english, dutch and portuguese.
I expect that what you are getting in the JPN locale is a a message in japanese but your windows console is not rendering it right...
Anyways all to say that these messages are from GCC and BINUTILS thenselves all I can do now is to raise the issue in those projects and wait for a patch :)
The issue has been raised on the GCC site and for the next release of MinPSPW I'll disable NLS allowing only messages in english.
That sounds fair enough. Thanks for looking into it.
Marko
Next release will be NLS-less