Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!ginosko!gem.mps.ohio-state.edu!rpi!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.lang.c Subject: Re: sizeof a struc field Summary: while you're asking Message-ID: <1075@crdos1.crd.ge.COM> Date: 13 Oct 89 20:29:58 GMT References: <7710@microsoft.UUCP> <44200027@uicsrd.csrd.uiuc.edu> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: GE Corp R&D Center Lines: 21 In article <44200027@uicsrd.csrd.uiuc.edu>, davies@uicsrd.csrd.uiuc.edu writes: | This whole discussion seems a bit abstract - can anybody cite references | from the standard or examples of compiler behaviour when confronted | with something like this? Better yet, can someone post a method to get the size of a field without having to create the struct or union which *is* a. portable b. readable Why discuss the virtues of NULL and why it should be special in this case, assume that even if it works people will flame you for using it, and let someone prove how smart they are by posting a sloution to the problem. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) "The world is filled with fools. They blindly follow their so-called 'reason' in the face of the church and common sense. Any fool can see that the world is flat!" - anon