From owner-freebsd-hackers Fri May 5 05:50:21 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA25747 for hackers-outgoing; Fri, 5 May 1995 05:50:21 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id FAA25730 for ; Fri, 5 May 1995 05:49:56 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id WAA21610; Fri, 5 May 1995 22:46:47 +1000 Date: Fri, 5 May 1995 22:46:47 +1000 From: Bruce Evans Message-Id: <199505051246.WAA21610@godzilla.zeta.org.au> To: bde@zeta.org.au, terry@cs.weber.edu Subject: Re: GNU cpp bug with pthreads Cc: hackers@FreeBSD.org, j@uriah.heep.sax.de, rpt@miles.sso.loral.com Sender: hackers-owner@FreeBSD.org Precedence: bulk >> >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...). I wish there was #defifn (define if not already defined) and typedefifn (typedef if not already typedefed). >Oh, in traditional mode, the Sun transitional compiler doesn't take >void, const, or volatile, but will take prototypes. Surely it has void? There are 2^4 combinations that it might have among those 4 keywords alone, and no way to gets which ones. All nonStandard compilers should have all combinations encoded in negative values of __STDC__ ;-). Bruce