Problem with ICC 9.0 and locales

Problem with ICC 9.0 and locales


I just installed the 9.0.021 icc compiler on a Debian Opteron system and when I try to run it, I get this message:

$ icc -c mem.c
Catastrophic error: could not set locale "" to allow processing of multibyte characters

compilation aborted for mem.c (code 4)

I have the locale set to "es" (it has the same problem with "en").

However setting it to "C" makes everything work fine:

$ icc -c mem.c
mem.c(10): warning #181: argument is incompatible with corresponding format string conversion
printf ("Requested = %ud
", amount*unit);

It's not a real problem for me but I was wondering if it was me alone...

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.