fetchnews.c: invalid operands to binary
Antoine Jacoutot
ajacoutot at lphp.org
Sun Apr 2 09:36:08 EDT 2006
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
More information about the Info-cyrus
mailing list