News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Support format of compiler message

Started by hcye, July 11, 2008, 07:19:22 AM

Previous topic - Next topic

hcye

I am using C::B with Metaware compiler for ARC. With the default setting, I cannot double-click a compiler message and jump to the file and line. However, this compiler allows user to configure the message formats. Can someone tell me what C::B likes to see in order to allow such click and jump? Thanks in advance!

Huanchun

Jenna

C::B uses regular expressions to parse the compiler output.

You can have a look at this thread.
It's another compiler (with other output syntax) but more or less the same problem.

hcye

Thanks for the pointer. I found that gcc uses the following formats:

file_name:line_number: error [error message from the compiler]
file_name:line_number: warning [warning message from the compiler]

So by setting Metaware options -Hefmat and -Hwfmat to the above, it works without any changes to C::B.