From owner-freebsd-hackers Fri May 5 05:22:12 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA25168 for hackers-outgoing; Fri, 5 May 1995 05:22:12 -0700 Received: from wdl1.wdl.loral.com (wdl1.wdl.loral.com [137.249.32.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id FAA25158 for ; Fri, 5 May 1995 05:21:59 -0700 Received: from miles.sso.loral.com by wdl1.wdl.loral.com (4.1/WDL-4.2) id AA13653; Fri, 5 May 95 05:19:17 PDT Received: by miles.sso.loral.com (4.1/SSO-SUN-2.04) id AA15410; Fri, 5 May 95 08:20:07 EDT Date: Fri, 5 May 1995 08:20:06 -0400 (EDT) From: Richard Toren X-Sender: rpt@miles To: Terry Lambert Cc: Bruce Evans , hackers@FreeBSD.org, j@uriah.heep.sax.de Subject: Re: GNU cpp bug with pthreads In-Reply-To: <9505041814.AA08811@cs.weber.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@FreeBSD.org Precedence: bulk On the topic of #if, I have stayed away from it because i have found a number of 'makedepend' variants that don't recognise '#if !defined ...' at all. 'makedepend' is too important a tool on large projects to be ignored. Even if it works on this system, it may not on the next (port=clone=plagerise?). ==================================================== Rip Toren | The bad news is that C++ is not an object-oriented | rpt@miles.sso.loral.com | programming language. .... The good news is that | | C++ supports object-oriented programming. | | C++ Programming & Fundamental Concepts | | by Anderson & Heinze | ==================================================== On Thu, 4 May 1995, Terry Lambert wrote: > > >On the other hand, #if is not necessarily a valid directive in older > > >preprocessers. > > > > Older than K&R1 (1978)? FreeBSD doesn't attempt to support those. > > I didn't say that I didn't personally use '#if' (although I don't use > '#elif', and would have liked a '#ifclude' to include files only if > they were there...). > > Oh, in traditional mode, the Sun transitional compiler doesn't take > void, const, or volatile, but will take prototypes. > > In non-traditional mode (__STDC__ == 1), it accepts all of them. > > In fasciest mode, the AIX compiler (__STDC__ == 2) will not take non > prototype function declartions (ie: no compatability for formal > function declarations). > > > Terry Lambert > terry@cs.weber.edu > --- > Any opinions in this posting are my own and not those of my present > or previous employers. >