From owner-freebsd-current@FreeBSD.ORG Tue Nov 13 23:24:26 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id E93593DE; Tue, 13 Nov 2012 23:24:26 +0000 (UTC) Date: Tue, 13 Nov 2012 15:24:26 -0800 From: David O'Brien To: Greg 'groggy' Lehey Subject: Re: Traditional cpp (was: /usr/bin/calendar broken on current) Message-ID: <20121113232426.GA12182@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Greg 'groggy' Lehey , Dimitry Andric , freebsd-current@freebsd.org References: <201211090658.qA96whII081757@pozo.com> <20121109072631.GQ77848@eureka.lemis.com> <509CFC88.7050606@FreeBSD.org> <20121110064621.GA10902@eureka.lemis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121110064621.GA10902@eureka.lemis.com> X-Operating-System: FreeBSD 10.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org, Dimitry Andric X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2012 23:24:27 -0000 On Sat, Nov 10, 2012 at 05:46:21PM +1100, Greg 'groggy' Lehey wrote: > On Friday, 9 November 2012 at 13:52:24 +0100, Dimitry Andric wrote: > > Looks like yet another cpp -traditional abuse. > > Use or abuse? In any case, it's not the only one. In the Good Old > Days people did things like that. So, it seems, does imake, and I'm > sure others will come out of the woodwork. ... > > Clang will most likely never support traditional preprocessing. ... > What we really need is a traditional cpp. That's not difficult: > there's one in 4.3BSD (all 32 kB of source). OpenBSD also had one, > though it's gone now, so presumably that one has a clean license. > Both appear to be from pcc. Should we import it into the tree as, > say, tradcpp? There is also a public domain one in the X11R5 sources. And the well writen http://mcpp.sourceforge.net/ (BSD-style-licensed), with a test suite, etc.. See 'lmcpp-summary-272.pdf' there. -- -- David (obrien@FreeBSD.org)