Pular para o conteúdo principal
Knowledgebase
Home
Renesas Brasil - Knowledgebase

How to specified Yes in output error message file option?

Latest Updated:09/18/2015

Question:

I have specified “Yes” in “Output error message file” option, but the compiler does not output error information to a *.err file.

Answer:

If the output destination which is specified for the “Output error message file” option is one file,the error information in the file will be overwritten whenever the compiler or assembler is run. Consequently, the error information from the compiler is not saved when the assembler is run. Check the error information in the following ways when compiling.
(1) Execute only compilation, and check the error information which is output to the *.err file.
(2) Designate different output destinations for error messages from compiling and assembly.
Specify these as follows in CS+.
・Specify the following under [Other additional options] of the [Others] category from the [Compile Options] tab.

For CC-RH:
-Xerror_file=File name
For CC-RL:
-error_file=File name
・Specify the following under [Other additional options] of the [Others] category from the [Assemble Options] tab
For CC-RH:
-Xerror_file=File name
For CC-RL:
-error_file=File name

Suitable Products
C Compiler Package for RH850 Family
C Compiler Package for RL78 Family