The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: slapinid@gmail.com (Sergey Lapin)
Subject: [TUHS] Old C code
Date: Thu, 23 Feb 2006 19:41:45 +0300	[thread overview]
Message-ID: <48239d390602230841o4c11fcelba411ec8827bee83@mail.gmail.com> (raw)

Hi, all!
I just dug into sed.h from 32V version of sed:

gcc can't parse the following code:
union   reptr {
        struct reptr1 {
                char    *ad1;
                char    *ad2;
                char    *re1;
                char    *rhs;
                FILE    *fcode;
                char    command;
                char    gfl;
                char    pfl;
                char    inar;
                char    negfl;
        };
        struct reptr2 {
                char    *ad1;
                char    *ad2;
                union reptr     *lb1;
                char    *rhs;
                FILE    *fcode;
                char    command;
                char    gfl;
                char    pfl;
                char    inar;
                char    negfl;
        };
} ptrspace[PTRSIZE], *rep;

Does anyone know current form of that, or how to force this
to compile and work?

Thanks a lot!

S.



             reply	other threads:[~2006-02-23 16:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 16:41 Sergey Lapin [this message]
2006-02-23 20:43 ` Jim Capp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48239d390602230841o4c11fcelba411ec8827bee83@mail.gmail.com \
    --to=slapinid@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).