> I don't know what changed (compiler? Win98 vs WinMe?) or what
> I can change in my code to make it work.

You could follow John Marshall's advice in his reply to your posting.

-- Keith Rollin
-- Palm OS Emulator engineer






"Thomas Ward" <[EMAIL PROTECTED]> on 01/30/2001 04:44:16 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "Thomas Ward" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/US/PALM)
Subject:  Re: GCC Compiler Bug? (Or am I just losing my mind?)



>> You cannot simply typecast between two incompatible types!!! Have you
heard
>> of stol() or stod() or whatevet they're called... Can't remeber now, my
>> mind is on /^perl$/o at the moment...
>
> A little too much so, I think.  There are no invalid casts in Thomas's
code.
> Converting chars to doubles is just fine, as is converting doubles to long
> integers.
>
> -- Keith Rollin
> -- Palm OS Emulator engineer

Whew, I'm glad to hear that :-) I tried every kind of cast I could think of.
The REALLY strange thing is that I am 99 44/100% sure that this exact code
used to work. I don't know what changed (compiler? Win98 vs WinMe?) or what
I can change in my code to make it work.

Tom




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