Warning when using const pointer to fixed size array

me22 me22.ca@gmail.com
Tue Dec 1 15:19:00 GMT 2009


2009/12/1 Sergei Organov <osv@javad.com>:
>
> void boo(const int p[9]);
>
> You see? Use the second, simpler declaration, and you are OK.
>

But then p is a pointer, not an array.



More information about the Gcc-help mailing list