This question applies to both VisualDSP++ and CCES.
I'm trying to understand why the Blackfin compiler gives me a cc0167 warning for the following situation.
typedef int test_type[5];
...
void foo(const test_type * ptr) {}
...
test_type data;
foo( &data );
When compiled I get the following error:
cc0167: {D} warning: argument of type
"test_type *" is incompatible with parameter of type
"const test_type *"
foo( &data );