Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rlgvax.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!mhuxn!mhuxb!mhuxr!ulysses!allegra!mit-eddie!godot!harvard!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.lang.c Subject: Re: derived types Message-ID: <418@rlgvax.UUCP> Date: Tue, 5-Feb-85 01:10:11 EST Article-I.D.: rlgvax.418 Posted: Tue Feb 5 01:10:11 1985 Date-Received: Thu, 7-Feb-85 02:33:58 EST References: <7989@brl-tgr.ARPA> Organization: CCI Office Systems Group, Reston, VA Lines: 11 > i DO believe that sizeof(foo *) should be sizeof(bar *). otherwise it's > just too confusing. more irrational viewpoints later. It's too confusing only if you're easily confused. Cast your d*mn pointers properly (like "lint" tells you to do) and lots of problems go away. If you absolutely *need* a pointer that can point to any one of ten things, and a union of ten pointer types won't do, use "char *" (or "void *" if/when it appears in the ANSI standard). Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy