Replacing MC (Microsoft Message Compiler) for Linux GCC

What is the equivalent mechanism in Linux GCC for message compiler in Windows VC ++?

I need to do this in order to have localized messages with the same identifier for each message in all languages, and then "compile" the messages so that the common code compiler accepts the message in accordance with the specified language.

For example, I work in Windows with messages from this structure:

MessageId = 100

SymbolicName = ID_GENERAL_ERROR

Language = English

Common mistake.

In my C ++ code, I just use ID_GENERAL_ERROR, and when I compile the message file, I set the language I want. (In fact, I use the MC compiler to create a header file that contains messages in the selected language).

Is there a general way to do this on Linux \ GCC?

.

+1
1
+2

Source: https://habr.com/ru/post/1782161/


All Articles