pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: General Windows Cleanups


From: Neil Hotmail
Subject: Re: General Windows Cleanups
Date: Sat, 12 Oct 2002 18:57:13 +0100

> Most of the fixes are:
> Correct casting, typically:
> int i; bool b;
> b = i -> b = (i != 0)
| What shall be the advantage of this one? Conversion from int to bool is
| defined by the standard and you don't need to use operator !=.
| Can't say that I like this one, therefore I won't commit it yet.
It gives a performance warning on the conversion, if you want I can add a
directive to ignore the performance warning.

| PS: Never forget, VC++ is the buggiest of the popular C++ compilers. :-)
And has the best debugger anywhere.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]