From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12215 invoked from network); 8 Jun 2020 16:32:28 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 8 Jun 2020 16:32:28 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 4657D9CA4B; Tue, 9 Jun 2020 02:32:24 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id EAE239C5F8; Tue, 9 Jun 2020 02:32:09 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 77B749C5F8; Tue, 9 Jun 2020 02:32:07 +1000 (AEST) Received: from ppsw-31.csi.cam.ac.uk (ppsw-31.csi.cam.ac.uk [131.111.8.131]) by minnie.tuhs.org (Postfix) with ESMTPS id A2A459C5E5 for ; Tue, 9 Jun 2020 02:32:06 +1000 (AEST) X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus Received: from grey.csi.cam.ac.uk ([131.111.57.57]:37846) by ppsw-31.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.137]:25) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1jiKgu-000h0S-MN (Exim 4.92.3) for tuhs@tuhs.org (return-path ); Mon, 08 Jun 2020 17:32:04 +0100 Date: Mon, 8 Jun 2020 17:32:04 +0100 From: Tony Finch To: tuhs@tuhs.org In-Reply-To: <202006062149.056LnNsb074899@tahoe.cs.Dartmouth.EDU> Message-ID: References: <202006062149.056LnNsb074899@tahoe.cs.Dartmouth.EDU> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [TUHS] History of popularity of C X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Doug McIlroy wrote: > Every ifdef is an ugly intrusion and a pain to read. I maintain `unifdef`, which is not a complicated program to port but it does require some platform-specific stuff on Windows (partly because of the poor standards conformance of the Windows C library). There's a fun rule that `unifdef` must contain no #ifdef (or #if etc.) so the portability stuff is handled by the build scripts adjusting the include path and list of object files. Not a very scalable solution :-) Tony. -- f.anthony.n.finch http://dotat.at/ Biscay: North or northwest 3 or 4, occasionally 5 at first. Slight or moderate, becoming slight later. Showers, thundery in east. Good, occasionally moderate.