I don't know how to answer your question.  I am just curious about "unsigned
int const len(50)".  Does it mean the same as "unsigned int const len = 50"?

Thanks.

Max
--- Thomas Maeder <[EMAIL PROTECTED]> wrote:
> 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/


__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to