#1 minor locale issue with psp-gcc

closed
None
5
2009-02-16
2009-02-11
Anonymous
No

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

Discussion

  • Paulo Lopes

    Paulo Lopes - 2009-02-12
    • assigned_to: nobody --> pmml
     
  • Paulo Lopes

    Paulo Lopes - 2009-02-12

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

     
  • Paulo Lopes

    Paulo Lopes - 2009-02-12

    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.

     
  • Paulo Lopes

    Paulo Lopes - 2009-02-12
    • milestone: --> Next_Release_(example)
    • status: open --> pending
     
  • Nobody/Anonymous

    • status: pending --> open
     
  • Nobody/Anonymous

    That sounds fair enough. Thanks for looking into it.

    Marko

     
  • Paulo Lopes

    Paulo Lopes - 2009-02-16
    • status: open --> closed
     
  • Paulo Lopes

    Paulo Lopes - 2009-02-16

    Next release will be NLS-less

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks