ANSI C, type composition, constant arrays in function arguments

Andreas Schwab schwab@suse.de
Sun Sep 21 23:04:00 GMT 2008


"Mikoláš Janota" <mikolas.janota@gmail.com> writes:

>  However, the following declarations
> void p(int p[30]);
> void p(int p[4]);
>
> do not yield a warning.

See 6.7.5.3#7.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-bugs mailing list