* Re: errors during compilation of fresh oort.
[not found] ` <hhk7dyrzur.fsf@blah.pl>
@ 2003-04-14 13:45 ` Simon Josefsson
0 siblings, 0 replies; 2+ messages in thread
From: Simon Josefsson @ 2003-04-14 13:45 UTC (permalink / raw)
Cc: Paul Foley
Maciej Matysiak <phoner.ding@blah.pl> writes:
> On the 12th of April 2003 at 21:57, Lars Magne Ingebrigtsen <larsi#gnus.org> wrote:
>
>>> i've just updated my oort. i get these errors during compilation:
>>> [...]
>>> replace-dehighlight, replace-highlight
>> Etc. I've tried compiling with XEmacs 21.2, but I get none of these
>> warnings...
>
> yupp, some of the warnings are gone, but i still can see:
>
> Compiling /home/phoner/Elisp/current-gnus/lisp/hashcash.el...
> While compiling the end of the data in file /home/phoner/Elisp/current-gnus/lisp/hashcash.el:
> ** The following functions are not known to be defined:
> hashcash-point-at-bol, hashcash-point-at-eol
> Wrote /home/phoner/Elisp/current-gnus/lisp/hashcash.elc
>
> Compiling /home/phoner/Elisp/current-gnus/lisp/ssl.el...
> While compiling open-ssl-stream in file /home/phoner/Elisp/current-gnus/lisp/ssl.el:
> ** function open-ssl-stream used to take 0+ arguments, now takes 4
> Wrote /home/phoner/Elisp/current-gnus/lisp/ssl.elc
>
> (cvs updated few minutes ago).
Neither hashcash.el nor ssl.el is part of Gnus, so the bug report
should probably go to the respective maintainer. For hashcash.el,
maybe the following fixes the warning, I've CC'd Paul on this message.
Index: hashcash.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/contrib/hashcash.el,v
retrieving revision 1.10
diff -u -p -u -w -r1.10 hashcash.el
--- hashcash.el 11 Mar 2003 21:20:06 -0000 1.10
+++ hashcash.el 14 Apr 2003 13:44:13 -0000
@@ -60,6 +60,7 @@ is used instead.")
(require 'mail-utils)
+(eval-and-compile
(defalias 'hashcash-point-at-bol
(if (fboundp 'point-at-bol)
'point-at-bol
@@ -68,7 +69,7 @@ is used instead.")
(defalias 'hashcash-point-at-eol
(if (fboundp 'point-at-eol)
'point-at-eol
- 'line-end-position))
+ 'line-end-position)))
(defun hashcash-strip-quoted-names (addr)
(setq addr (mail-strip-quoted-names addr))
^ permalink raw reply [flat|nested] 2+ messages in thread