GNU bug report logs - #12539
24.2.50; Byte compiler warns about cl-lib functions

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <md5i <at> md5i.com>

Date: Sat, 29 Sep 2012 04:00:03 UTC

Severity: normal

Found in version 24.2.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#12539: closed (24.2.50; Byte compiler warns about cl-lib
 functions)
Date: Sat, 29 Sep 2012 18:05:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 29 Sep 2012 14:04:17 -0400
with message-id <fy8vbszowu.fsf <at> fencepost.gnu.org>
and subject line Re: bug#12539: 24.2.50; Byte compiler warns about cl-lib functions
has caused the debbugs.gnu.org bug report #12539,
regarding 24.2.50; Byte compiler warns about cl-lib functions
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
12539: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12539
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Welsh Duggan <md5i <at> md5i.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; Byte compiler warns about cl-lib functions
Date: Fri, 28 Sep 2012 23:58:53 -0400
Start emacs and create an elisp file:

  emacs -Q
  C-x C-f /tmp/foo.el

Write the following into the file:

  (require 'cl-lib)

  (defun foo (x)
    (cl-remove-if (lambda (x) (markerp (car-safe x))) x))

Save it, and byte compile it:

  C-x C-s
  M-x byte-compile-file RET RET

You will then get a warning:

In foo:
foo.el:4:53:Warning: function `cl-remove-if' from cl package called at runtime


I believe this warning is not supposed to be there when using the cl-lib
(as opposed to cl) package.


In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, X toolkit)
 of 2012-09-07 on maru
Bzr revision: 109910 cyd <at> gnu.org-20120907040700-bupuig48oke3ynqm
Windowing system distributor `The X.Org Foundation', version 11.0.11203902
Configured using:
 `configure '--without-gconf' '--without-gsettings'
 '--without-toolkit-scroll-bars' '--with-x-toolkit=lucid' 'CFLAGS=-O0
 -ggdb' '--enable-asserts' '--with-wide-int' '--enable-maintainer-mode''

Important settings:
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

-- 
Michael Welsh Duggan
(md5i <at> md5i.com)


[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 12539-done <at> debbugs.gnu.org
Subject: Re: bug#12539: 24.2.50; Byte compiler warns about cl-lib functions
Date: Sat, 29 Sep 2012 14:04:17 -0400
Michael Welsh Duggan wrote:

> You will then get a warning:
>
> In foo:
> foo.el:4:53:Warning: function `cl-remove-if' from cl package called at runtime

Fixed as of yesterday.


This bug report was last modified 12 years and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.