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

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

Re: Problems with compile-mode


From: Daniel Pfeiffer
Subject: Re: Problems with compile-mode
Date: Sun, 9 May 2004 20:00:24 +0200

¡Hola Oscar!

Oscar Fuentes <address@hidden> skribis:

> Symptoms:
> 
> The *compilation* buffer shows compiler messages before the initial
> informative text, like this:
> 
> g++ -c -Wall -mthreads -g -O0  -It:/include -DLP0_STATIC_LIB -MMD -MF
> build/mingw/debug/.deps/main.d -o build/mingw/debug/main.o
> build/mingw/debug/../../../main.cpp In file included from api.h:5,
>                  from main.cpp:3:
> tipo.h: In constructor `lp0::Tipo::Tipo(lp0::Symbol*)':
> tipo.h:65: error: `x' undeclared (first use this function)
> tipo.h:65: error: (Each undeclared identifier is reported only once for each
> 
>    function it appears in.)
> make: *** [build/mingw/debug/main.o] Error 1
> cd t:\lp0\    # -*-compilation-*-
> Entering directory `t:\lp0\'
> make MINGW=1
> 
> Compilation exited abnormally with code 2 at Wed May 05 06:39:35

This looks like either Emacs on Mingw gets mixed up between the subprocesses'
stderr and stdout.  Or compile gets mixed up with its process marker (where
the process writes into the buffer).

Since this apparently only happens on Mingw, which I don't have, I don't know
where to start looking.  As per etc/MACHINES Mingw is not even a supported
plattform for Emacs...  I dare not even hope you have Cygwin, to see if the
same thing happens there?

> At the beginning of compile-internal, I see this comment:
> 
> ;; This is a rough emulation of the old hack, until the transition to new
> ;; compile is complete.
> 
> Are you interested on bugs like the above, then?

This comment only pertains to one deprecated function.  I don't assume you
have used that function, but from the Recent input section below, I can't
determine what you did.

> As a separate matter, error messages issued by EDG C/C++ compilers are
> no longer recognised. Is this a bug or previous versions recognized
> them by accident? Do I need to add a regexp to
> compilation-error-regexp-alist-alist ?

I'm not aware of having dropped any matchers.  The old compile.el didn't
mention EDG as one of the things it matched.  Maybe you had some extra
configuration from somewhere.  If you can send me a list with various kinds of
messages from this compiler (fatal, error, warning, info ... as available),
I'll try to match them.

> In GNU Emacs 21.3.50.1 (i386-mingw-nt5.0.2195)
>  of 2004-04-27 on BERATUNG4
> configured using `configure --with-gcc (3.3) --cflags
> -I../../jpeg-6b-1/include -I../../libpng-1.2.4-1/include
> -I../../tiff-3.5.7/include -I../../xpm-nox-4.2.0/include
> -I../../zlib-1.1.4-1/include'
> 
> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: nil
>   value of $LC_MESSAGES: nil
>   value of $LC_MONETARY: nil
>   value of $LC_NUMERIC: nil
>   value of $LC_TIME: nil
>   value of $LANG: ESN
>   locale-coding-system: iso-latin-1
>   default-enable-multibyte-characters: t
> 
> Major mode: Emacs-Lisp
> 
> Minor modes in effect:
>   iswitchb-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   unify-8859-on-encoding-mode: t
>   column-number-mode: t
>   line-number-mode: t
> 
> Recent input:
> <up> <end> C-x C-e <f6> <return> <f9> n C-x o <prior> 
> <prior> <prior> <C-f4> C-_ <escape> <escape> <escape> 
> <up> <up> <up> <up> <up> <up> C-SPC C-_ C-_ C-_ <help-echo> 
> <help-echo> <help-echo> C-M-e <left> C-x C-e C-M-a 
> <C-home> C-s c o m p i l e <backspace> <backspace> 
> <backspace> <backspace> <backspace> <backspace> <backspace> 
> d e f u n SPC c o m p i l e - i n t e <home> <next> 
> <prior> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
> <up> <up> <up> <up> <up> <up> C-SPC <down> <down> M-w 
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
> <menu-bar> <help-menu> <report-emacs-bug>
> 
> Recent messages:
> call-interactively: Beginning of buffer
> Undo!
> Mark set
> Redo!
> Undo! [2 times]
> compilation-start
> Mark set
> Mark saved where search started
> Mark set
> Loading emacsbug...done

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / läramå / ucz się    Esperanto:
                              http://lernu.net/




reply via email to

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