From owner-freebsd-arch Wed Jan 30 18:46: 4 2002 Delivered-To: freebsd-arch@freebsd.org Received: from pr0n.kutulu.org (pr0n.kutulu.org [151.196.107.157]) by hub.freebsd.org (Postfix) with ESMTP id 7D46537B405 for ; Wed, 30 Jan 2002 18:46:01 -0800 (PST) Received: from cc191573g (beta.kutulu.org [68.50.102.129]) by pr0n.kutulu.org (Postfix) with SMTP id A6E074D; Wed, 30 Jan 2002 21:48:32 -0500 (EST) Message-ID: <019701c1aa19$27b2fb30$81663244@longhill1.md.home.com> From: "Kutulu" To: "Terry Lambert" , "Anders Andersson" Cc: "Jordan Hubbard" , "Dallas De Atley" , References: <3C57BED2.E1144F41@mindspring.com> <66467.1012412972@winston.freebsd.org> <20020130175639.GB2437@sushi.sanyusan.se> <3C588DCF.AFC83B3@mindspring.com> Subject: Re: __P macro question Date: Wed, 30 Jan 2002 21:35:50 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "Terry Lambert" Sent: Wednesday, January 30, 2002 4:20 PM > The bottom line is that the policy is *already* to not put > it in to new code, and to use prototypes instead, rendering > new code non-portable to older platforms and uncompilable > by older tool chains. > I fear that yielding to full dependency on a single tool > chain is not a good idea for the long term. I am by no means a FreeBSd hacker, just an interested observer, so please don't take this question as anything other than curiosity. I generally understand the reason for/against using the prototype-hiding macro. However, your (Terry's) position repeatedly argues for keeping this in code to avoid being dependant on GCC. Is GCC the only UNIX compiler that can compile code with prototypes? Isn't that an ANSI standard requirement, not a gcc-ism? I have never used any compiler other than gcc and some Borland stuff, so I really don't know the answer, but it seems to me that anyone, like myself, coming into UNIX development at this point in time would expect *some* ANSI-enabled compiler to be around for any platform, wether the GNU people wrote it or not. Is this a stupid assumption to make? --Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message