Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!ufcsv!codas!burl!clyde!ima!haddock!karl From: karl@haddock.ISC.COM (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: While talking about useful additions, how about this one?? Message-ID: <2376@haddock.ISC.COM> Date: 24 Jan 88 21:16:43 GMT References: <253@vsi1.UUCP> <127@ghostwheel.UUCP> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 14 In article <127@ghostwheel.UUCP> ned@ghostwheel.aca.mcc.com.UUCP (Ned Nowotny) writes: >... I would like to see "struct *" used as a generic pointer to a structure. >This is distinct from "void *" in that pointers to structures generally have >the same alignment constraints in all implementations of which I am aware, Most implementations I've seen will give a struct the alignment of its strictest member. Thus, struct{char} and struct{int} may have different alignment constraints. However, I believe the dpANS requires that all struct pointers must be interchangable anyway, so this does not invalidate your suggestion. How would you use such a feature, if you had it? Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint