Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

I can't compile, ICPC 11.0 build 74

raulhuertas
Beginner
342 Views

Hello. I can't compile this program with the last ICPC:

#include
#include

/*
*
*/
int main(int argc, char** argv) {

printf("Hello world!\n");

int r;

scanf("%d", &r);

}

I have this error message:

Catastrophic error: could not set locale "" to allow processing of multibyte characters

I'm using the new netbeans6.5, and this is the command that produces that output:

icpc -c -O3 -Wall -MMD -MP -MF build/Release/IntelSDK-Linux-x86/Main.o.d -o build/Release/IntelSDK-Linux-x86/Main.o Main.cpp

Everything was fine with v10. :(. Help please!

0 Kudos
1 Reply
raulhuertas
Beginner
342 Views

Ok, from here I found http://software.intel.com/en-us/forums/showthread.php?t=56258 the solution. I must add the option "-no-multibyte-chars". But... what are multibye characters? The 'n' character still works. Is this unicode/w_char related? :S

0 Kudos
Reply