Lenguage error when compiling
#1

hello, I have a problem when compiling; As you can see, my language is not English, I speak Spanish, so when I use accents, such as "ъ", my program is frozen.

I program in a modular way, use define in a different file than the functions, then, when using a define in a file, for example:

Код:
#define server_name "example with ъ"
and when using format in another file which uses the previous define, for example:

Код:
format (hostname, sizeof hostname, "hostname% s", server_name); 
SendRconCommand (hostname);
the program is frozen, but when you remove the accents or signs like "Ў", which are not in the English language, everything works fine.

however, when configuring the program language in Spanish, and placing the define and the function in the same file, there is no problem. that is why I came to the conclusion that it is a problem of modular programming.

(before answer this, I have both files configured in Spanish, I do not know why this error is due)
Reply
#2

There isn`t a fix for this. Also spanish, and using accents or с crashes the compiler.

More info of this here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)