When I'm using gcc
in Cygwin I'm getting error messages in Russian which, for instance, looks like the following:
$ gcc -Wall kmeans.c -o kmeans
kmeans.c:260:1: предупреждение: неявное приведение большого целого значения к беззнаковому типу [-Woverflow]
size_t used_size = ULLONG_MAX; // size of each file used, binary file only
However I prefer to work in English. Thus, how can I change permanently the language that is used within the Cygwin terminal?
Try set env variable: LANG='en_GB.UTF-8'
Reference: http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Environment-Variables.html#Environment-Variables/