On Tue, Feb 03, 2009 at 04:58:42PM -0800, Nandini Mocherla wrote:

> Thank You!  I changed the way, i was using quotes and it did compile and 
> install successfully.  But i saw these errors in my error file.  Is it ok 
> to ignore them.

To reduce spurious noise: try gcc, or figure out which compiler options
to use to turn off these warnings.

We could use:

    #define __MAXINT__(T) ((T) ((((((T) 1) << ((sizeof(T) * CHAR_BIT) - 2)) - 
1) << 1) + 1))

which, for example, with 64 bit off_t will be: 2 * (2^62 - 1) + 1 ==
2^61 - 1, which is what we want without ever using negative values,
but I doubt it is worth the trouble.

> "file_limit.c", line 74: warning: integer overflow detected: op "<<"
> "vstream.c", line 853: warning: integer overflow detected: op "<<"
> "is_header.c", line 91: warning: statement not reached
> "master.c", line 388: warning: integer overflow detected: op "<<"
> "smtpd_check.c", line 971: warning: statement not reached

This still leaves you with the "statement not reached" "errors".

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to