I am trying to use a globally defined static const char array in a shared
library. It is my understanding that read-only globals can be used in a
shared library. The library is around 27k & I'm compiling with CodeWarrior
9.2. When I define an array as, for example,
static const char* entities[] = {
"this", "is",
"an", "array" };
I get a link error "entities has illegal single segment 32-bit reference to
...". If I explicitly define the index expressions, the object links. How
can I define the array so as to not have to explicitly define the index
expressions?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/