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_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 8932d20c for ; Fri, 24 Aug 2018 01:59:33 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 2DDE6A1A95; Fri, 24 Aug 2018 11:59:32 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 89C9FA1A1B; Fri, 24 Aug 2018 11:59:22 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=aWYTiAsH; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 1CB32A1A1B; Fri, 24 Aug 2018 11:59:21 +1000 (AEST) Received: from mail-qt0-f173.google.com (mail-qt0-f173.google.com [209.85.216.173]) by minnie.tuhs.org (Postfix) with ESMTPS id 7F752A1A1A for ; Fri, 24 Aug 2018 11:59:20 +1000 (AEST) Received: by mail-qt0-f173.google.com with SMTP id z8-v6so8571405qto.9 for ; Thu, 23 Aug 2018 18:59:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CtRBPTdoa2pJlcQcFfptl8Sp+QdPI2j0YkDqwBFYKDc=; b=aWYTiAsHczAMTR2PR/o3/wsT6oGld9RWn9ochUd7mx6fIWS7k4chnx2114RnLoKBvK 0ZUzlGXtBjFyu5XWtQrujDDLLyU5FgnBDL8iKYLC8h5s2WDIrr9jNOFbLLMdsIFhM2jr c/43nIKyA5HToVynkocJgNYYgIiElbn+PIpTFVejnl+FA8uq63+SSniKCJAOM91/7nTR /ZQ0acZAN4n5kBWVsPzLDz3nZEjnd/StlEbzgzW37xW5Z6yayLAAUTgkkJP+bp85PMZm o/cBS1VCI5b9P5vadNJEcmbrHbvYKgyye9Tw07uVCVv4vkarlaqDEJQN2BNfBZrVmkCb GEvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CtRBPTdoa2pJlcQcFfptl8Sp+QdPI2j0YkDqwBFYKDc=; b=LSnqof7pNCjtens+aNB/jFOrSfBAMzcbEoKoXf7OEsQ+G033Jo9UXcZwcuMQOjqlOI izk4EGmAtJxwn8qWF69F5X0XvnGuE4SB0Nr1fO5DggDV72Z4Nn2T/XLZxTOxJQv1u+5p 9Nkkk/JfeePeBZmppCW0deNngjuHkXNQ+oujoxyqjvXr8G4ZiqMak+1DlLwflJjruWuU d0QsaIeASPHJ5PLVt5KJIWt/setbPui0Opc2NHh7D07lVuOHYJfAVPAc/GxYfKq0JICb fhAwhPD7BcsGYIEatNhZkW/XOkDrHn+T14/yi7StgHVBCDQeHcav4LB3HDokI0AxthzW Ftiw== X-Gm-Message-State: APzg51Cn21thsKe1m80GVQYKvZgB6qTHp/Oun8btgmDoA9eM6o3c0kfZ k17lfHQnB9Z2v3l0I86+4LgDsTfqO2T0tM8Sk+I= X-Google-Smtp-Source: ANB0VdZ0hkx0WUFyNlrUWUlHxYsanjlzK/sb9k0d+U/6iI5GqR8RziPciM+BDOVEJHT7cDoJMIKKImgoPKhCAK9FXgc= X-Received: by 2002:aed:3faf:: with SMTP id s44-v6mr4206865qth.89.1535075959662; Thu, 23 Aug 2018 18:59:19 -0700 (PDT) MIME-Version: 1.0 References: <10c401d43aef$8be34870$a3a9d950$@ronnatalie.com> <151301d43b2f$07881ed0$16985c70$@ronnatalie.com> In-Reply-To: <151301d43b2f$07881ed0$16985c70$@ronnatalie.com> From: Dan Cross Date: Thu, 23 Aug 2018 21:58:43 -0400 Message-ID: To: Ron Natalie Content-Type: multipart/alternative; boundary="000000000000476bd7057424b920" 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" --000000000000476bd7057424b920 Content-Type: text/plain; charset="UTF-8" On Thu, Aug 23, 2018 at 6:17 PM 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. --000000000000476bd7057424b920 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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.=C2=A0 =C2=A0The = 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.=C2=A0 =C2=A0You are right char* (or caddr_t) wou= ld work just
fine for this albeit with some explicit casting.

<= /div>
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 `vo= id`.

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

=C2= =A0 =C2=A0 =C2=A0 =C2=A0 - Dan C.

--000000000000476bd7057424b920--