Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!topaz!pyrnj!mirror!datacube!stephen From: stephen@datacube.UUCP Newsgroups: net.lang.c Subject: Re: Another bug in C compilers Message-ID: <7800015@datacube> Date: Wed, 6-Aug-86 09:39:00 EDT Article-I.D.: datacube.7800015 Posted: Wed Aug 6 09:39:00 1986 Date-Received: Sat, 9-Aug-86 08:55:17 EDT References: <151@danews.UUCP> Lines: 27 Nf-ID: #R:danews.UUCP:-15100:datacube:7800015:000:499 Nf-From: datacube.UUCP!stephen Aug 6 09:39:00 1986 > I believe I've found a bug in the C compiler for the Sys 5 Rel 2 3B20. > Say we have a structure declared as: > struct ABC > { > stuff > }; > and then follow it with: > struct ABC; > ... no error .... It is necessary for structures which reference each other, as in: struct a; struct b { ... struct a *a_ptr; }; struct a { ... struct b *b_ptr; }; Stephen Watkins UUCP: ihnp4!datacube!stephen Datacube Inc.; 4 Dearborn Rd.; Peabody, Ma. 01960; 617-535-6644