On Thu, Sep 18, 2008 at 09:20:23AM +0100, Geoff Munday wrote:
Here follows some typical compiler messages from mcs & gmcs (mono2). Warnings follow the same format, just replacing "error" with "warning".
btw. I failed to make a block copy from the output window, each line had to be right clicked on its own ...
r. Geoff
mcs /t:exe "testb.cs" -r:Mono.Data.SqliteClient,System.Data (in directory: /home/user/duron/mono/gpsr)#
testb.cs (23,9): error CS0103: The name `bEndTag' does not exist in the current context testb.cs(28,16): error CS0103: The name `v' does not exist in the current context
Beside the inconsistent space between the filename and th first '(', looks like it could be easily wrapped to conform with the used syntax now of:
file:line:message
Also, what's is the second number in the (N,M) pair? (line,column)?
You could try a wrapper like:
#/bin/sh mcs $* | sed -e 's/ *(([0-9]*),[0-9]*)/:\1/;
[snip more examples]
Hope to help.