Path: utzoo!yunexus!intacc!mann From: mann@intacc.uucp (Jeff Mann) Newsgroups: news.software.b Subject: compiler error? Message-ID: <1989Jun29.010600.6802@intacc.uucp> Date: 29 Jun 89 05:06:00 GMT Article-I.D.: intacc.1989Jun29.010600.6802 Reply-To: mann@intacc.UUCP (Jeff Mann) Organization: Inter\Access, Toronto Lines: 20 When trying to compile /relay/hdrdefs.c under Microport SysV rl2.3, I get this (somewhat confusing to me) error: "hdrdefs.c", line 49: compiler error: expression causes compiler loop: try simplifying line 48 & 49 are: static const struct hdrdef msghdr = { msgnm, STRLEN(msgnm), offsetof(struct headers, h_msgid) }; and offsetof is defined: #define offsetof(type, mem) ((char *)&((type *)NULL)->mem - (char *)NULL) - Any advice? -- | Jeff Mann - Inter/Access, Toronto ...uunet!mnetor!intacc!mann | | "A picture is worth 256 thousand words" {utzoo, utgpu}!chp!intacc!mann |