Date: Mon, 5 May 1997 13:49:35 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: bde@zeta.org.au (Bruce Evans) Cc: jkh@time.cdrom.com, nadav@barcode.co.il, hackers@FreeBSD.ORG Subject: Re: /usr/include/ftpio.h is not C++ safe Message-ID: <199705052049.NAA16529@phaeton.artisoft.com> In-Reply-To: <199705052009.GAA09324@godzilla.zeta.org.au> from "Bruce Evans" at May 6, 97 06:09:16 am
next in thread | previous in thread | raw e-mail | index | archive | help
> >Don't pollute new code with the __P() gunge. It just makes it harder > >to read and there are no compilers we need to use which do not accept > >full ANSI prototypes. > > Headers in /usr/include should support K&R since they may be used with > old code. Yes. They are not platform specific. The UCB license was used precisely to allow this sort of code-grabbing and use on non-FreeBSD platforms. In addition, there are cases where old code must be compiled with the -traditional flag (I think this is what Bruce was meaning here) because of existing calling conventions in the code, and the lack of a prototype in scope at the time of inter-object calling in the old code itself. Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705052049.NAA16529>