From unknown Sun Jun 22 08:05:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6966: 24.0.50; Emacs cannot find errors reported by GCC 4.5 Resent-From: Paul Pogonyshev Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Sep 2010 18:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6966@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128336407814185 (code B ref -1); Wed, 01 Sep 2010 18:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2010 18:01:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oqrcb-0003gk-R4 for submit@debbugs.gnu.org; Wed, 01 Sep 2010 14:01:17 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oqrca-0003gf-Ka for submit@debbugs.gnu.org; Wed, 01 Sep 2010 14:01:17 -0400 Received: from lists.gnu.org ([199.232.76.165]:35759) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OqreD-000616-HT for submit@debbugs.gnu.org; Wed, 01 Sep 2010 14:02:57 -0400 Received: from [140.186.70.92] (port=37402 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqreC-0001Lg-68 for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 14:02:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqreB-0000pF-77 for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 14:02:55 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:41923 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OqreA-0000om-Qx for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 14:02:55 -0400 Received: (qmail invoked by alias); 01 Sep 2010 18:02:51 -0000 Received: from unknown (EHLO gonzo.localnet) [91.149.173.2] by mail.gmx.net (mp050) with SMTP; 01 Sep 2010 20:02:51 +0200 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX1/FM0Rm5snFFwxI4PzTERjAWpA9jkc4jnLmeJqcu2 PIeeal5l08HtCF From: Paul Pogonyshev Date: Wed, 1 Sep 2010 20:50:01 +0300 User-Agent: KMail/1.13.5 (Linux/2.6.29-2-686; KDE/4.4.5; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201009012050.01616.pogonyshev@gmx.net> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Save the following in 'test.cpp' file: template struct foo { typedef typename X::bar bar; }; int main () { foo x; } Now, type: C-u M-x compile gcc-4.5 test.cpp -o test As the compilation results (with the expected errors) appear, invoke 'next-error' (with C-x `, say). It will not be able to find the error location and instead prompt in the minibuffer: Find this error in (default test.cpp:10): ~/test/ Note that using GCC 4.5 is essential, with 4.4 it works. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 16 14:53:12 2010 Received: (at control) by debbugs.gnu.org; 16 Sep 2010 18:53:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwJa4-0008PW-1t for submit@debbugs.gnu.org; Thu, 16 Sep 2010 14:53:12 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwJa2-0008PR-AY for control@debbugs.gnu.org; Thu, 16 Sep 2010 14:53:11 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OwJcb-0006Y4-Ph; Thu, 16 Sep 2010 14:55:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19602.26677.775598.227384@fencepost.gnu.org> Date: Thu, 16 Sep 2010 14:55:49 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: white X-Ran: gC?Tj=BwY\Qw!YTxcpolmsi%;6L4 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) close 6979 forcemerge 6979 6966