From owner-freebsd-hackers Mon May 5 14:48:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA22953 for hackers-outgoing; Mon, 5 May 1997 14:48:49 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id OAA22946 for ; Mon, 5 May 1997 14:48:46 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA16806; Mon, 5 May 1997 14:45:10 -0700 From: Terry Lambert Message-Id: <199705052145.OAA16806@phaeton.artisoft.com> Subject: Re: /usr/include/ftpio.h is not C++ safe To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Mon, 5 May 1997 14:45:10 -0700 (MST) Cc: terry@lambert.org, bde@zeta.org.au, nadav@barcode.co.il, hackers@FreeBSD.ORG In-Reply-To: <7866.862868211@time.cdrom.com> from "Jordan K. Hubbard" at May 5, 97 02:36:51 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > How can libftpio be used by code which must be compiled -traditional, > > without __P()? > > And why would you want to compile libftpio with -traditional? > I read the paragraph where you say: > > 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. > > And I still don't see where this is applicable in this case at all. You're still missing my (and I think Bruce's) meaning here. I *don't* want to compile libftpio -traditional. I want to add "#include ftpio.h" and link libftpio to an older application which must be compiled -traditional. To do that, the header must be compilable with -traditional (ie: it needs __P()). Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.