From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id c1e68be6 for ; Fri, 24 Aug 2018 03:05:17 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id CCF41A1A24; Fri, 24 Aug 2018 13:05:16 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 22889A1A1A; Fri, 24 Aug 2018 13:05:07 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b=KbRHXc36; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 63158A1A1A; Fri, 24 Aug 2018 13:05:03 +1000 (AEST) Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by minnie.tuhs.org (Postfix) with ESMTPS id ECA09A1A19 for ; Fri, 24 Aug 2018 13:05:01 +1000 (AEST) Received: by mail-qt0-f196.google.com with SMTP id t5-v6so8719587qtn.3 for ; Thu, 23 Aug 2018 20:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=oyI2henWXTnIxO6hxIEkB/YecXoDq1hOmJn8jlhk5Vo=; b=KbRHXc36Q48ZS+TrUMAF2je7PZRjN6O3J2kHQybHLdLQ4Y1HM8LFRExpEl7ju5TTDi AlCnAEiofln+X8J4u/Ny3nyK3Cc90WiN70auflJLq1zaUKGeY1lzHbTxZ3JPVD394lAT Y7GTCMmKP+uEJRaBdAsKSJNpDgknIqJgnIBMU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=oyI2henWXTnIxO6hxIEkB/YecXoDq1hOmJn8jlhk5Vo=; b=oXaFA82WT4UPOyOmbf3evOMpsJ0dL9Yj8oEiZ4YxSa2JmU519tsCFxthinB2PuLDID 5453RZE0iJ7jnM6Ns33NDfNrlR8WBl/aHlUArYk7entUnsOcOW4wATaI2Tjy0rVtIImE iHnKbL9d40NYs3YTE/uy2HRHYGnmTRREBy0iK6YlrcYAc8NXZ8A3LxQ/3s/LFGxFGa+R 8vH/EN3tcnIkV7Cy3fvtfGp9xNxkAAUnKK+0jUcPri4ifmAgGHvROer6tgbChiQ4s74x 49ffU9e3wUj9W5rZatFcoUpCY3SrmsrytaOdO4WdEzPoXIhntHZWO+H5FcWmNxq0or3J mp4Q== X-Gm-Message-State: AOUpUlGH+9gbn24iEU1AXvsx6i3DeRxMUTHNjPN/IobfyqS/vZmzhK9M W2BI8y4h5qC3QNdAGiHByXpRjw== X-Google-Smtp-Source: AA+uWPz+KoLmZ5t+2/x3me4jQJWS8RzQAIGYVNoRMSui43NtE16B2cDdRG1fY+PJZz1bOhqDNdZTXQ== X-Received: by 2002:a0c:a281:: with SMTP id g1-v6mr58995932qva.60.1535079901170; Thu, 23 Aug 2018 20:05:01 -0700 (PDT) Received: from [192.168.10.109] (pool-173-48-168-163.bstnma.fios.verizon.net. [173.48.168.163]) by smtp.gmail.com with ESMTPSA id u25-v6sm3471710qkk.7.2018.08.23.20.05.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Aug 2018 20:05:00 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-200F93D0-8085-43B9-8940-955EEE323C54 Mime-Version: 1.0 (1.0) From: Clem cole X-Mailer: iPhone Mail (15G77) In-Reply-To: Date: Thu, 23 Aug 2018 23:04:59 -0400 Content-Transfer-Encoding: 7bit Message-Id: <0889FBDD-A68B-4062-AF63-EBF4CAB17F8A@ccc.com> References: <10c401d43aef$8be34870$a3a9d950$@ronnatalie.com> <151301d43b2f$07881ed0$16985c70$@ronnatalie.com> To: Dan Cross Subject: Re: [TUHS] C++ / Kernel X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --Apple-Mail-200F93D0-8085-43B9-8940-955EEE323C54 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Interesting. Void is missing, not just void*? At one point void worked but t= he void * idiom was buggy/missing =20 The problem I have is the compiler was changing in small ways with each vers= ion and the differences run together=20 Sent from my PDP-7 Running UNIX V0 expect things to be almost but not quite.= =20 > On Aug 23, 2018, at 9:58 PM, Dan Cross wrote: >=20 >> On Thu, Aug 23, 2018 at 6:17 PM wrote: >> [snip] >>=20 >> Void* came out with the V7 compiler, if I recall properly. The BSD kern= el >> looks as if it requires such a later compiler (it uses bit fields which t= he >> earlier compilers didn't support). >> But it doesn't matter. You are right char* (or caddr_t) would work just= >> fine for this albeit with some explicit casting. >=20 > This appears to be incorrect, unfortunately. I just tested on the PDP-11/7= 0 running 7th Edition at the Living Computer Museum (I've got an account the= re) and it appears that neither `cc` nor `pcc` understand `void`. >=20 > Perhaps Steve Johnson can chime in on this? I suspect he'd know the histor= y here well. >=20 > - Dan C. >=20 --Apple-Mail-200F93D0-8085-43B9-8940-955EEE323C54 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Interesting. Void is missing, not just void*? At one point void worked but the void * idiom was buggy/missing    

The problem I have is the compiler was changing in small ways with each version and the differences run together 


Sent from my PDP-7 Running UNIX V0 expect things to be almost but not quite. 

On Aug 23, 2018, at 9:58 PM, Dan Cross <crossd@gmail.com> wrote:

On Thu, Aug 23, 2018 at 6:17 PM <ron@ronnatalie.com> wrote:
[snip]

Void* came out with the V7 compiler, if I recall properly.   The BSD kernel
looks as if it requires such a later compiler (it uses bit fields which the
earlier compilers didn't support).
But it doesn't matter.   You are right char* (or caddr_t) would work just
fine for this albeit with some explicit casting.

This appears to be incorrect, unfortunately. I just tested on the PDP-11/70 running 7th Edition at the Living Computer Museum (I've got an account there) and it appears that neither `cc` nor `pcc` understand `void`.

Perhaps Steve Johnson can chime in on this? I suspect he'd know the history here well.

        - Dan C.

--Apple-Mail-200F93D0-8085-43B9-8940-955EEE323C54--