Good day. I'm trying disable warnings (#2548-D and #69-D).
I have them because i created: const char a='Ф'; // it is Cyrillic symbol
I wrote "69,2548" in disable Warnings field in Linker tab.
But every time i compile project there are always appear this warnings. What I'm doing wrong? Thanks!
2 Eric. Yes i know. I use string LCD and Cyrillic symbols have 1 byte code in it. But in windows they are presents in two bytes. I noticed that the main part of symbol code in the second byte and just write it in 1 byte.
Yes i know. I use string LCD and Cyrillic symbols have 1 byte code in it. But in windows they are presents in two bytes. I noticed that the main part of symbol code in the second byte and just write it in 1 byte. Then I suggest using a typecast rather then disabling warnings (back on the soapbox)
But in windows they are presents in two bytes.
Only if you configure your text editor to do it that way. Which, for what you're trying to do, is quite a bad idea.
And since you didn't even bother to tell which compiler you're talking about, that's about as much help as one could give you.
I use default compiler version in uVision 5.20.0.0
I cleared the field "Misc controls" and tried to use
static_cast<char>('Б')
Warning 69 disappeared, but 2548 still remains.