Richard Klinda

[ColdFire] array of pointers to constant objects?

Discussion created by Richard Klinda on Nov 23, 2007
Latest reply on Nov 26, 2007 by CompilerGuru

I would like my "data" variable to be an array of pointers pointing to the values I specify (which are constant and known at compile time).

In GCC it looks something like this:
const void* const data[] = { 0x01, "foo", 0x02, "bar" };

It doesn't work in CodeWarrior, any help / hints would be appreciated.

Thanks in advance,