mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
bug 304139: [Scanner Discovery] Compiler inspection does not work for
gcc with non-english locale
This commit is contained in:
parent
96d7e46a45
commit
11bfe7ab1a
1 changed files with 2 additions and 1 deletions
|
@ -271,7 +271,8 @@ public class DefaultRunSIProvider implements IExternalScannerInfoProvider {
|
|||
// of the language as long as the encoding is set to UTF-8.
|
||||
// English language is chosen because parser relies on English messages
|
||||
// in the output of the 'gcc -v' command.
|
||||
props.put("LC_ALL", "en_US.UTF-8"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
props.put("LANGUAGE", "en"); // override for GNU gettext //$NON-NLS-1$ //$NON-NLS-2$
|
||||
props.put("LC_ALL", "en_US.UTF-8"); // for other parts of the system libraries //$NON-NLS-1$ //$NON-NLS-2$
|
||||
return props;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue