Path: utzoo!attcan!uunet!lll-winken!ames!apple!agate!ucbvax!hplabs!hpfcdc!kathy From: kathy@hpfcdc.HP.COM (Kathy Harris) Newsgroups: comp.std.c Subject: Re: Interpretation needed Re: function prototypes (LONG) Message-ID: <12040016@hpfcdc.HP.COM> Date: 7 Jul 89 16:22:01 GMT References: <12570014@hpclscu.HP.COM> Organization: HP Ft. Collins, Co. Lines: 23 I'm still not clear on this. Is it only the "top-level" qualifier that is to be ignored for comparisons, or all qualifiers. For example, are the following compatible or not: int f(const int * p); int f(int * p); where the 'const' qualifier applies to the 'int' not to the 'pointer'. If you do ignore this for comparisons, then it still makes a difference in the composite type, because it will determine whether the following generates a diagnostic about passing a pointer to a constant to a plain pointer. main() { const int *q; f(q); } Kathy Harris Hewlett Packard Colorado Language Lab hplabs!hpdcdb!kathy