[Geany] C# mono mcs/gmcs compiler errors

Damián Viano geany at xxxxx
Thu Sep 18 14:56:38 UTC 2008


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.

-- 
Damián Viano(Des)              ¯ ¯ - _           _ - ¯ ¯
GPG: 0x6EB95A6F                 Debian ¯-_GNU_-¯ Linux
Web: http://damianv.com.ar/               ¯-¯



More information about the Users mailing list