unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Milind Ganjoo" <milganz@gmail.com>
To: rms@gnu.org
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Standard error output in Emacs
Date: Sat, 8 Sep 2007 13:54:08 +0530	[thread overview]
Message-ID: <222dce70709080124m4cb4219boaf48c6b816227cb6@mail.gmail.com> (raw)
In-Reply-To: <E1ITuJZ-0003Ij-Qf@fencepost.gnu.org>

>     The standard error output from programs like DJGPP's gcc is not
>     captured by Emacs. When compiling a C++ source file using gpp in
>     Emacs, a compile error results in an abnormal exit code of 2, but the
>     *Compilation* buffer does not show the exact errors.
>
> We do not use DJGPP.
> Please show us the precise error messages that are not recognized.
>

The `exact errors' that I am referring to are simply syntax error
messages. For example, say I compile a C++ source file, containing syntax
errors, with `M-x compile' and `gpp -o test.exe test.cc', the
*compilation* buffer does not show the syntax errors; it merely
indicates that `compilation exited abnormally'. A similar thing
happens with all DJGPP programs that I run through the Emacs shell:
the standard error output is not displayed.

On Mr Zaretskii's advice, I tried using the MinGW compiler through
Emacs to compile my source file, and it is presenting all the
syntax errors and other error messages. It seems as if Emacs is not
receiving standard error output from DOS programs like DJGPP.

  reply	other threads:[~2007-09-08  8:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 14:14 Standard error output in Emacs Milind Ganjoo
2007-09-07 18:33 ` Eli Zaretskii
2007-09-08  7:01 ` Richard Stallman
2007-09-08  8:24   ` Milind Ganjoo [this message]
2007-09-08  9:19     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=222dce70709080124m4cb4219boaf48c6b816227cb6@mail.gmail.com \
    --to=milganz@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).