- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page