>> 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/
- GCC Compiler Bug? (Or am I just losing my mind?) Thomas Ward
- Re: GCC Compiler Bug? (Or am I just losing my mind?) John Marshall
- Re: GCC Compiler Bug? (Or am I just losing my mind?) Igor Mozolevsky
- Re: GCC Compiler Bug? (Or am I just losing my mind?) krollin
- Re: GCC Compiler Bug? (Or am I just losing my mind?) Thomas Ward
- Re: GCC Compiler Bug? (Or am I just losing my mind?) krollin
- Re: GCC Compiler Bug? (Or am I just losing my mind?) Igor Mozolevsky
- Re: GCC Compiler Bug? (Or am I just losing my mind?) Igor Mozolevsky
- Re: GCC Compiler Bug? (Or am I just losing my mind?) krollin
- Re: GCC Compiler Bug? (Or am I just losing my mind?) Igor Mozolevsky
- Re: GCC Compiler Bug? (Or am I just losing my mind?) krollin
- Re: GCC Compiler Bug? (Or am I just losing my mind?) John Leung
- Re: GCC Compiler Bug? (Or am I just losing my mind?) Igor Mozolevsky
- Re: GCC Compiler Bug? (Or am I just losing my mind?) krollin
- Re: GCC Compiler Bug? (Or am I just losing my mind?) Igor Mozolevsky
