Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 IgnoreMsg Command Running a Program on the Target Compiling and Linking with On Time RTOS-32 |
IgnoreMsg CommandThe IgnoreMsg directive in configuration files can be used to suppress the generation of information or warning messages: IgnoreMsg "String" "String" should be replaced with the beginning of a message to be suppressed. All information or warning messages which begin with the given String (not case sensitive) will be ignored. They will not be displayed and are not listed in the .LOC file. Example:The Debug Monitor shipped with RTTarget-32 does not use a heap or a C/C++ run-time system which might need a heap internally. Thus, RTLoc does not need to allocate any heap space for the Monitor. However, this causes warning message No heap region specified to be issued. Since this warning can safely be ignored for the Monitor (but not for programs using a run-time system), the directive: IgnoreMsg "No heap" // ignore all messages starting with "No heap" can be placed in the Monitor's configuration file. This way, the Monitor can be built successfully without generating any warnings. This directive must be used with care. Use it only if you are 100% sure that an information or warning message can be ignored. If possible, the cause of the message should be corrected.
|