Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn) Newsgroups: net.lang.c Subject: Re: structure problem - error or warning? Message-ID: <5311@brl-tgr.ARPA> Date: Mon, 15-Oct-84 18:14:41 EDT Article-I.D.: brl-tgr.5311 Posted: Mon Oct 15 18:14:41 1984 Date-Received: Wed, 17-Oct-84 19:32:12 EDT References: <564@ccice5.UUCP> Organization: Ballistics Research Lab Lines: 6 The reason your compiler gives a nonfatal warning on misuse of structure members (z.w where w is a member of a different structure type) is that in the early days of C, this was a supported usage. Now that stronger typing is creeping into C, it really should be considered an error (if one WANTS that behavior he can get it by appropriate use of type-casts). "Compatibility forever"