$ touch a.cc
$ LANG=C g++ -E a.cc
# 1 "a.cc"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "a.cc"

$ LANG=de_DE g++ -E a.cc
# 1 "a.cc"
# 1 "<eingebaut>"
# 1 "<Kommandozeile>"
# 1 "a.cc"

IMHO, preprocessor output should be independend of LANG settings. This prevents 
ccache (http://ccache.samba.org) from working for different users using 
different LANG settings.

A workaround for my problem is to set LANG always to "C". But then you can't 
see translated errors/warnings.

-- 
           Summary: different LANG settings and ccache don't work together
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: joerg dot richter at pdv-fs dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19753

Reply via email to