From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sarir Khamsi Newsgroups: gmane.emacs.devel Subject: Problems stepping through PC-lint output Date: Fri, 04 Nov 2005 15:46:21 -0700 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131144554 29666 80.91.229.2 (4 Nov 2005 22:49:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Nov 2005 22:49:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 04 23:49:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EYALI-0005Pe-UW for ged-emacs-devel@m.gmane.org; Fri, 04 Nov 2005 23:47:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYALI-0002DC-Du for ged-emacs-devel@m.gmane.org; Fri, 04 Nov 2005 17:47:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EYAKP-0001r6-04 for emacs-devel@gnu.org; Fri, 04 Nov 2005 17:46:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EYAKM-0001pF-GB for emacs-devel@gnu.org; Fri, 04 Nov 2005 17:46:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYAKM-0001p9-Bi for emacs-devel@gnu.org; Fri, 04 Nov 2005 17:46:30 -0500 Original-Received: from [199.46.245.232] (helo=tus-gate3.raytheon.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EYAKM-0005MY-F6 for emacs-devel@gnu.org; Fri, 04 Nov 2005 17:46:30 -0500 Original-Received: from ds02t00.directory.ray.com (ds02t00.directory.ray.com [147.25.154.117]) by tus-gate3.raytheon.com (8.12.10/8.12.10) with ESMTP id jA4MkSoG019300 for ; Fri, 4 Nov 2005 15:46:28 -0700 (MST) Original-Received: from ds02t00 (localhost [127.0.0.1]) by ds02t00.directory.ray.com (Switch-3.1.7/Switch-3.1.0) with ESMTP id jA4MkOTL019634 for ; Fri, 4 Nov 2005 22:46:24 GMT Original-Received: from ds02t00.directory.ray.com with LMTP by ds02t00 (2.0.6/sieved-2-0-build-559) for ; Fri, 4 Nov 2005 22:46:23 +0000 Original-Received: from tu2-msg07.rsc.raytheon.com (tu2-msg07.RSC.RAYTHEON.COM [147.24.232.89]) by ds02t00.directory.ray.com (Switch-3.1.7/Switch-3.1.0) with ESMTP id jA4MkNg6019631 sender sarir.khamsi@raytheon.com for ; Fri, 4 Nov 2005 22:46:23 GMT Original-Received: from ZTUAC763013 ([147.24.52.80]) by tu2-msg07.rsc.raytheon.com (Lotus Domino Release 6.5.4FP1HF116) with ESMTP id 2005110415462181-80 ; Fri, 4 Nov 2005 15:46:21 -0700 Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (windows-nt) X-SPAM: 0.00 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45418 Archived-At: I am using GNU Emacs (22.0.50.20) on WinXP, SP2 to step through the output of PC-lint using the Emacs "next-error" command but am having problems. First, I execute "compilation-mode" on the PC-lint output file to get into, well, compilation mode (this also changes the colors of the warnings, errors, info, etc). Next, I step through the output with the "next-error" command, as mentioned, but some of the output gets skipped entirely. That is, when I press "next-error" to have Emacs go to the source code where the next "error" is, some lines in the PC-lint output get skipped. For example, given the lines --- Module: Vehicle.cpp _ #define D2R 0.0174532925199433 MathGlobals.h:41:12: Note 1923: macro 'D2R' could become const variable -- Effective C++ #1 _ #define R2D 1/D2R MathGlobals.h:42:14: Info 773: Expression-like macro 'R2D' not parenthesized MathGlobals.h:42:14: Note 1923: macro 'R2D' could become const variable -- Effective C++ #1 _ d_IParam(double); ConcreteTypes.hpp:21:19: Note 1931: Constructor 'd_IParam::d_IParam(double)' can be used for implicit conversions -- More Effective C++ #5 _ i_IParam(int); the "MathGlobals.h:42:14: Info 773" line will get skipped and Emacs will jump to the next message (in this case, the second "Note 1923" about R2D). I am using -"format=%(%f:%l:%c: %)%t %n: %m" in my options.lnt file for PC-lint (per some instructions on the web), which helped get this working at all, but I can't see why lines are getting skipped. Any ideas? Thanks. Sarir PS I can send more info and/or files on request. -- Sarir Khamsi email: sarir.khamsi@raytheon.com