mingw g++ gives warnings in wrong language (german instead of english)

前端 未结 1 797
小鲜肉
小鲜肉 2020-12-31 01:39

My problem is the following:
When I compile a C++ Project with eclipse (Juno, 64bit, Java 7u3) on my Windows 7 laptop, I get german errors/warnings. This results in warn

相关标签:
1条回答
  • 2020-12-31 02:05

    I finally solved it :D
    I just added a new environment varibale. I still have no clue why it works on one computer (as on that one I have not set this variable) but at least it finally works on my laptop as well and is (I think) a good (the correct?) solution:

    Control Panel -> System -> Advanced System Settings -> Environment Varibales... -> System variables -> New.. -> Variable: LC_ALL, Value: en_US.UTF-8

    Now I have english warnings/errors when I compile and eclipse behaves as it should.

    0 讨论(0)
提交回复
热议问题