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!
I have additional function that converts character code to code of LCD. I have a table like this:
... static_cast<char>('Ф'),0xC8,1, static_cast<char>('Х'),0x58,0, static_cast<char>('Ц'),0xC9,1, static_cast<char>('Ч'),0xCA,1, static_cast<char>('Ш'),0xCB,1, ...
first byte - symbol, second - code in LCD, third - number of page in LCD (it has 2 pages).
But your code will only work if the code point for the character fits in a char.
If not, then you need to play with wchar or introduce more advanced code.