fetchnews.c: invalid operands to binary

From: Antoine Jacoutot (no email)
Date: Sun Apr 02 2006 - 09:36:08 EDT

  • Next message: Andreas Winkelmann: "Re: postfix+cyrus errors"

    Hi...

    I'm trying to compile the 2.2.13 version of cyrus-imapd under OpenBSD.
    I've never had issues with earlier versions, but now, there seems to be
    some changes in imap/fetchnews.c and I get the following error:

    cc -c -I.. -I./../lib -I/usr/include -I./../sieve -I/usr/local/include/db4
    -I/usr/local/include -I/usr/include -I/usr/include -I/usr/local/include
    -DHAVE_CONFIG_H -O2 -pipe -fPIC fetchnews.c
    fetchnews.c: In function `main':
    fetchnews.c:436: error: invalid operands to binary -
    *** Error code 1

      If I change le line
    #436 from
    stamp -= timezone;
    to
    stamp = timezone;

    then it compiles fine. BUT, I'm not a developper and I have no idea how
    this change is good/dangerous... or not ???
    I would appreciate any hints on this.

    Thanks!

    Regards,

    -- 
    Antoine
    ----
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Andreas Winkelmann: "Re: postfix+cyrus errors"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD