Pedro Izecksohn wrote:
> My personal opinion is that the two independent compilers I used are
> buggy, but I want another opinion before reporting this bug to two
> independent developers.

Not a bug.  This happens under every compiler I've ever used.  As I've 
said before, weird stuff* happens when you start assigning one type to 
another type without being VERY specific about the conversion.  In other 
words, typecasting.  Do what I do - go overkill on typecasting and 
you'll never have to worry about this.

* I say "weird stuff" above because the compiler behaves very 
differently to natural intuition.  It *is* Standard behavior, just not 
what you expect.  There are a set of rules in the Standard governing 
conversions, but the best approach I've found is to simply bypass those 
rules with typecasting.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to