Re: [1/2] include: Implement part of nserror.h

2013-03-10 Thread Nikolay Sivov
On 3/11/2013 10:27, Jeff Latimer wrote: --- include/nserror.h | 226 ++ 1 file changed, 226 insertions(+) create mode 100644 include/nserror.h +#ifndef _NSERROR_H +#define _NSERROR_H This doesn't look right. +#define NS_S_CALLPENDING_HRE

Re: msvcp60: Avoid signed-unsigned integer comparisons

2013-03-10 Thread Max TenEyck Woodbury
On 03/10/2013 07:00 AM, Henri Verbeet wrote: On 10 March 2013 08:20, larmbr zhan wrote: But It behaves different when it is signed or not. According to C Standard, >> - For the signed case, once it overflows, resulting in representing a negative value . Actually, sign

Re: msvcp60: Avoid signed-unsigned integer comparisons

2013-03-10 Thread Henri Verbeet
On 10 March 2013 08:20, larmbr zhan wrote: >But It behaves different when it is signed or not. According to C > Standard, >- For the signed case, once it overflows, resulting in > representing a negative value . Actually, signed overflow behaviour is undefined according to the standard