Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 01:50:28 -0700 (PDT)
From:      Peter Pentchev <roam@orbitel.bg>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/28222: New port of error: analyze compiler error messages
Message-ID:  <200106170850.f5H8oSA78770@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/28222; it has been noted by GNATS.

From: Peter Pentchev <roam@orbitel.bg>
To: Dima Dorfman <dima@unixfreak.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/28222: New port of error: analyze compiler error messages
Date: Sun, 17 Jun 2001 11:47:34 +0300

 On Sat, Jun 16, 2001 at 11:48:55PM -0700, Dima Dorfman wrote:
 > 
 > >Number:         28222
 > >Category:       ports
 > >Synopsis:       New port of error: analyze compiler error messages
 > >Originator:     Dima Dorfman
 >
 > >Description:
 > 
 > Error analyzes and optionally disperses the diagnostic error messages
 > produced by a number of compilers and language processors to the
 > source file and line where the errors occurred.  It can replace the
 > painful, traditional methods of scribbling abbreviations of errors on
 > paper, and permits error messages and source code to be viewed
 > simultaneously without machinations of multiple windows in a screen
 > editor.
 > 
 > Error knows about the error messages produced by: make(1), cc(1),
 > cpp(1), ccom(1), as(1), ld(1), lint(1), pi(1), pc(1), f77(1), and DEC
 > Western Research Modula-2.  However, please note that error hasn't
 > been taught about the toolchain currently in use on FreeBSD, so the
 > aforementioned programs may not necessarily be the ones installed on
 > your system!
 
 I think error(1) was in the base system, but it was disconnected
 from the build at some point.  There was even a PR in GNATS about
 it, though I can't really remember the details now..  oh wait,
 there are even two of those: 19404 and 23233 :)  In a followup
 to the second one, Chris Faulhaber has suggested that this be made
 a port; however, you might still want to contact Kris for details
 about just why did he consider it non-working enough to be removed,
 or David O'Brien for information if it would be easy to re-add it
 to the base system.
 
 And one more comment :)
 
 > X# This isn't very scalable, but I'm lazy..
 > X.if defined(NOMANCOMPRESS)
 > XMANNAME=	error.1
 > X.else
 > XMANNAME=	error.1.gz
 > X.endif
 
 How about:
 
 .if !defined(NOMANCOMPRESS)
 .for i in 1
 .ifdef MAN${i}
 MAN$i:= 	${MAN$i:C/$/.gz/}
 .endif
 .endfor
 .endif
 
 The ".for i in 1" is somewhat stupid :)  But it scales well.. :)
 If there really are no other sections to be added in the future:
 
 .if !defined(NOMANCOMPRESS)
 MAN1:=		${MAN1:C/$/.gz/}
 .endif
 
 Oh, and BTW: error(1) is completely unneeded if you use vi, vim,
 emacs, or some other CC-aware editor ;)  But it might be useful
 in general..
 
 G'luck,
 Peter
 
 -- 
 Nostalgia ain't what it used to be.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106170850.f5H8oSA78770>