Compiler & Debugger: CodeWarrior 7.1 for Palm (IDE version 4.1.0.3, Build
0654)
Emulator: Palm OS Emulator 3.2
The following snippet produces the error message
[Your app] just executed an illegal or unknown machine instruction. The
opcode was 0xA22E
unsigned int const len(50);
char src[len];
using std::fill;
fill(src,src+len-1,' ');
src[len-1] = 0;
char dest[len];
using std::copy;
copy(src,src+len,dest);
The problem occurs if len exceeds 32. On a real palm device, the same code
produces a Fatal Exception.
Is this problem known?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/