Traditional cpp (was: /usr/bin/calendar broken on current)
obrien at FreeBSD.org
Tue Nov 13 23:24:27 UTC 2012
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 at FreeBSD.org)
More information about the freebsd-current