Notes |
|
(0022537)
|
John Stark.
|
2010-10-19 10:10
|
|
Same for the VTK version : vtkCheckCXXAcceptsFlags.cmake |
|
|
(0022815)
|
Brad King
|
2010-11-03 09:48
|
|
On POSIX systems one can set "LANG=C" or "LCALL=C" in the environment to get simple english messages. Is there an equivalent for MSVC on Windows? |
|
|
(0022818)
|
John Stark.
|
2010-11-03 10:44
(edited on: 2010-11-03 10:45) |
|
I don't think that an environment setting to switch language like that exists for MSVC on windows. The different languages use completely different installers. As far as I know it's not even possible to switch language without re-installing visual studio. I couldn't see any options for the c++ compiler (cl.exe) to switch to english either.
If you test for the string "warning D9002 :" you'll catch 3 languages at least (English, French, Spanish) that I know of, with relatively little risk.
|
|
|
(0022819)
|
John Stark.
|
2010-11-03 10:51
|
|
I've just read that you can get free language packs for VS 2010 that allow you to manually switch language. I still don't know if it can be done at the command line. |
|
|
(0022820)
|
Brad King
|
2010-11-03 12:09
|
|
I'm not surprised, but thanks for checking. We don't want to depend on a language pack being installed anyway.
The "warning D9002" approach sounds good. |
|
|
(0022821)
|
Brad King
|
2010-11-03 12:16
|
|
|
|
(0022828)
|
John Stark.
|
2010-11-04 05:14
|
|
That patch works correctly. I get :
Checking to see if CXX compiler accepts flag -features=no%anachronisms
Checking to see if CXX compiler accepts flag -features=no%anachronisms - No
Can you patch VTK too please? Or do I need another bug report? |
|
|
(0022829)
|
Brad King
|
2010-11-04 08:21
|
|
Thanks for testing. I'll put it in VTK too. |
|
|
(0022831)
|
Brad King
|
2010-11-04 08:52
|
|
|