Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: hcye on July 11, 2008, 07:19:22 am
-
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
-
C::B uses regular expressions to parse the compiler output.
You can have a look at this (http://forums.codeblocks.org/index.php/topic,8697.msg63338.html#msg63338) thread.
It's another compiler (with other output syntax) but more or less the same problem.
-
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.