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 testb.cs(29,21): error CS0103: The name `v' does not exist in the current context testb.cs(29,42): error CS0103: The name `bEndTag' does not exist in the current context testb.cs (32,44): error CS0103: The name `v' does not exist in the current context testb.cs(34,21): error CS0103: The name `bEndTag' does not exist in the current context testb.cs(37,25): error CS0103: The name `bEndTag' does not exist in the current context Compilation failed: 7 error(s), 0 warnings Compilation failed.
gmcs
testb.cs(26,20): error CS1002: Expecting `;' testb.cs(28,13): error CS0266: Cannot implicitly convert type `char' to `byte'. An explicit conversion exists (are you missing a cast?) testb.cs(28,9): error CS0029: Cannot implicitly convert type `byte' to `bool' testb.cs(13,45): error CS0246: The type or namespace name `SqliteConnection' could not be found. Are you missing a using directive or an assembly reference?
###########################################This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.Formore information, connect to http://www.F-Secure.com/
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.
On Thu, 18 Sep 2008 09:20:23 +0100 "Geoff Munday" geoffm@qsiuk.com wrote:
Here follows some typical compiler messages from mcs & gmcs (mono2). Warnings follow the same format, just replacing "error" with "warning".
Thanks, I'll try to look at implementing the custom regex error code soon. In the meantime you could try Damián Viano's wrapper script in the other reply.
btw. I failed to make a block copy from the output window, each line had to be right clicked on its own ...
The SVN version has a Copy All command.
Regards, Nick
On Thu, 18 Sep 2008 17:08:40 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Thu, 18 Sep 2008 09:20:23 +0100 "Geoff Munday" geoffm@qsiuk.com wrote:
Here follows some typical compiler messages from mcs & gmcs (mono2). Warnings follow the same format, just replacing "error" with "warning".
Thanks, I'll try to look at implementing the custom regex error code soon. In the meantime you could try Damián Viano's wrapper script in the other reply.
Alternatively, try the SVN version or if you compiled from source, use the attached patch (whatever seems easier for you).
Your sent output looks like this from fpc (free Pascal compiler) and so support for the 'mcs' was quite easy :).
Regards, Enrico
On Thu, 18 Sep 2008 17:08:40 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
I'll try to look at implementing the custom regex error code soon.
Done in SVN - for details, see the error_regex key in: http://www.geany.org/manual/dev/index.html#build-settings-section
Regards, Nick