Bug 526053 - Set LANG environmental variable to en_US before launching gcc
Summary: Set LANG environmental variable to en_US before launching gcc
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 9.3.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-15 15:18 EDT by Yan Pas CLA
Modified: 2020-09-04 15:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yan Pas CLA 2017-10-15 15:18:36 EDT
My LANG variable is ru_RU and it's inherited by Eclipse from system. It's also inherited by gcc, which replaces "warning" with "предпреждение". Eclipse matches lines with regexp and such line is treated as error, not warning

You may also unset LANG before spawning gcc (or any other compiler) process