[Top][All Lists]
[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.
Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3, Ingo Ruhnke, 2002/10/12
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3, David Philippi, 2002/10/12
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3, Neil Hotmail, 2002/10/12
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3, David Philippi, 2002/10/12