Hello,
I use Visual Studio 2005 compiler (french version) with Code::Blocks.
I have a problem with accentuated words as you can see below:
A simple example with one error:
#include <stdio.h>
#include <stdlib.h>
int main()
{
a = 1;
printf("Hello world!\n");
return 0;
}
And the error message from the compiler:
:: === Test, Debug ===
main.c:6: error C2065: 'a'ÿ: identificateur non d‚clar‚
:: === Build finished: 1 errors, 0 warnings ===
Is there a way to display accentuated characters with Code::Blocks or is it a problem with Visual Studio?
Thanks in advance and have a nice day.
I have post a bug report on BerliOS.
I hope this problem could be fix in a near futur :)
Here is another example in order to make you understand the problem:
#include <iostream>
using namespace std;
int main()
{
int a;
a < 1;
cout << "Hello world!" << endl;
return 0;
}
With french compiler:
:: === TestFrench, Debug ===
main.cpp:8: warning C4552: '<'ÿ: op‚rateur sans effetÿ; op‚rateur avec effet secondaire attendu
:: === Build finished: 0 errors, 1 warnings ===
In french, I should have had:
main.cpp:8: warning C4552: '<' : opérateur sans effet; opérateur avec effet secondaire attendu
with english compiler:
main.cpp:8: warning C4552: '<' : operator has no effect; expected operator with side-effect
:: === Build finished: 0 errors, 1 warnings ===
For information, I have reproduce this behavior with the build SVN 4185 (and many older version)
I also reproduced this on Windows 2000 sp4 and Windows XP sp2.