Re: [warzone2100-dev] More on fixing the Qt branch

2010-05-09 Thread Cyp
On Sun, May 9, 2010 at 7:02 AM, buginator buginato...@gmail.com wrote: On 4/30/10, buginator  wrote: On 4/30/10, Christian Ohm  wrote:   On Thursday, 29 April 2010 at 22:45, buginator wrote:     After some more tinkering with the code, I finally found the issue     that MSVC was having.  In

Re: [warzone2100-dev] More on fixing the Qt branch

2010-04-30 Thread Christian Ohm
On Thursday, 29 April 2010 at 22:45, buginator wrote: After some more tinkering with the code, I finally found the issue that MSVC was having. In short, a bool in c is a int, and in c++ a bool !=int. It was always returning 256 on false, and -858993663 on true. For those that don't see

Re: [warzone2100-dev] More on fixing the Qt branch

2010-04-30 Thread buginator
On 4/30/10, Christian Ohm wrote: On Thursday, 29 April 2010 at 22:45, buginator wrote: After some more tinkering with the code, I finally found the issue that MSVC was having. In short, a bool in c is a int, and in c++ a bool !=int. It was always returning 256 on false, and

[warzone2100-dev] More on fixing the Qt branch

2010-04-29 Thread buginator
After some more tinkering with the code, I finally found the issue that MSVC was having. In short, a bool in c is a int, and in c++ a bool !=int. It was always returning 256 on false, and -858993663 on true. For those that don't see what that is, here: false = 0x0100, true = 0xcc01