How can we make the optimizations off??

Thanks
Praveen
----- Original Message -----
From: "Dave Lippincott" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 6:19 AM
Subject: Re: Wrong initialization - Compiler bug?


> If you're using the debugger to look at the values of t1...t4, make sure
you
> have all optimizations turned off.
>
> ----- Original Message -----
> From: "Hemanth M S" <[EMAIL PROTECTED]>
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 25, 2001 9:00 AM
> Subject: Wrong initialization - Compiler bug?
>
>
> > This piece of code initializes  t1,t2,t3 and t4 to whatever value t4
has.
> is
> > this a known bug?
> > are there any patches available?
> > I am using CW 6 for palm (IDE 4.0.1 build 0436)  POSE 3.3
> > thanks in advance
> > hemanth
> > static UInt32 StarterPalmMain(UInt16 cmd, MemPtr /*cmdPBP*/, UInt16
> > launchFlags)
> > {
> > Err error;
> > Boolean t1 =true;
> > Boolean t2 =false;
> > UInt8 t3 = 40;
> > Boolean t4 =true;
> >
> > error = RomVersionCompatible (ourMinVersion, launchFlags);
> > if (error) return (error);
> > /* rest fo the code follows*/
> >
>
��--o--2----*--6--*--o--*--7--#--5--o--*--3--#--&--9--o--*--@--*--o--*--7--#
> > --5--��
> > Somewhere, something incredible is waiting to be known.
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> >
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>

-- 
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