From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Milind Ganjoo" Newsgroups: gmane.emacs.bugs Subject: Re: Standard error output in Emacs Date: Sat, 8 Sep 2007 13:54:08 +0530 Message-ID: <222dce70709080124m4cb4219boaf48c6b816227cb6@mail.gmail.com> References: <222dce70709070714j4870925dkc42438f75fb34e44@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189239859 10102 80.91.229.12 (8 Sep 2007 08:24:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2007 08:24:19 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 08 10:24:20 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ITvc0-00015A-D8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2007 10:24:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITvbx-0002cw-U6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2007 04:24:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITvbw-0002az-63 for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2007 04:24:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITvbu-0002YE-UD for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2007 04:24:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITvbu-0002Xm-Ko for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2007 04:24:10 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITvbu-0005PV-8Z for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2007 04:24:10 -0400 Original-Received: by nf-out-0910.google.com with SMTP id e27so611060nfd for ; Sat, 08 Sep 2007 01:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=JxTwSE9DJ1M5hglR2tNs920q3VrGK/g+7oMCQ1h09g8=; b=TNL1OuQM6ukb52QHZWh1pqvb4zhDY/dp9LNu1hxR61+XPvl7TDzNr8teLfXOxw9lpbX06uR5IM/yGdzTaE9Utpl+1A9DFrFZmpeadCFekzFYqd9p+Nv23JidcR/ZqDjqqi0EqaFfJfCDGa4pUa0xIOLs9U+yJhhIqpSKRgLaGkQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mWyxeEEWjjoXfnztCfnHvxlNQKD+5SFDkqrjbraE5px616lrv9xtsD0yIe1EqIwPgyonDXXUJv3oFB9/bQu5sfqc79uFDr0XXIXw3DY+g1K4Ohp8PiJQ8Aqz1E3tuHAW/kGKjsLgL49i7mFHubYiQbKrNpeYRSAcSIyMS6h0Vwg= Original-Received: by 10.78.177.3 with SMTP id z3mr1033413hue.1189239848927; Sat, 08 Sep 2007 01:24:08 -0700 (PDT) Original-Received: by 10.78.131.6 with HTTP; Sat, 8 Sep 2007 01:24:08 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Detected-Kernel: Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16503 Archived-At: > 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.