bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update for Microsoft compile expressions - COMPILE.EL.


From: Michael Hotchin
Subject: Update for Microsoft compile expressions - COMPILE.EL.
Date: Sun, 5 Jun 2005 00:00:35 -0700

Hello, I am using Emacs 21.3.1, combined with the latest beta of Visual
Studio
(beta 2).

In their wisdom, the output format for compiler messages has been changed.
It was like this:

d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if'

On multi-processor machines (don't have a single proc to test on), the
message
now looks like this:

1>d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if'

I've seen two digit numbers, I suppose that with large enough projects 
the numbers can get arbitrarily large.

I have modified my version of COMPILE.EL to support this, but this file
has changed substantially in the 21.4 tree.  If this new 
message format could be included 'in the box' that would be nice.

In 21.3, I just added the following line after the current message
REGEXP for MS:

    ("[0-9]+>\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)(\\([0-9]+\\)) \
: \\(error\\|warning\\) C[0-9]+:" 1 3)

The only difference is "[0-9]+>" at the beginning. in 21.3, this change
is around line 239.

If someone could point me to a pre-built x86 Windows version of 21.4,
I could download that and see if I can make matching changes there.

        Michael H.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]