Weird compile error with IMAPD 2.1.6 and 2.1.7
Bernhard Erdmann
be at berdmann.de
Tue Sep 10 22:58:09 EDT 2002
[...]
> In file included from imapd.c:94:
> pushstats.h:39: warning: invalid character in macro parameter name
> pushstats.h:39: badly punctuated parameter list in `#define'
> make[1]: *** [imapd.o] Error 1
> make[1]: Leaving directory `/sysdev/webmail2/cyrus-imapd-2.1.6/imap'
[...]
http://www.irbs.net/internet/info-cyrus/0206/0574.html
The attached patch should fix it.
-------------- next part --------------
--- cyrus-imapd-2.1.5/imap/lmtpstats.h Tue Jun 25 05:52:15 2002
+++ cyrus-imapd-2.1.5-gccfix/imap/lmtpstats.h Wed Jun 26 10:51:25 2002
@@ -40,7 +40,7 @@
#define snmp_increment(a, b)
-#define snmp_increment_args(...)
+#define snmp_increment_args(args...)
#define snmp_set(a, b)
diff -aur cyrus-imapd-2.1.5/imap/pushstats.h cyrus-imapd-2.1.5-gccfix/imap/pushstats.h
--- cyrus-imapd-2.1.5/imap/pushstats.h Tue Jun 25 05:52:15 2002
+++ cyrus-imapd-2.1.5-gccfix/imap/pushstats.h Wed Jun 26 10:51:17 2002
@@ -36,7 +36,7 @@
#define snmp_increment(a, b)
-#define snmp_increment_args(...)
+#define snmp_increment_args(args...)
#define snmp_set(a, b)
More information about the Info-cyrus
mailing list