From: Sam Steingold <sds@gnu.org>
To: 8140@debbugs.gnu.org
Subject: bug#8140: 24.0.50; wrong compilation warning
Date: Mon, 28 Feb 2011 10:16:30 -0500 [thread overview]
Message-ID: <svbp1wkx4h.fsf@tbox.wtc.algo> (raw)
In GNU Emacs 24.0.50.6 (x86_64-unknown-linux-gnu, X toolkit)
of 2011-02-28 on tbox
Windowing system distributor `Colin Harrison', version 11.0.60900031
configured using `configure '--exec-prefix=/opt/emacs/lucid' '--prefix=/opt/emacs' '--with-x-toolkit=lucid''
the following code:
(if (eval-when-compile (eq 'w32 window-system))
(defun foo () ...) ; woe32 definition
(defun foo () ...)) ; unix definition
(defun bar () ... (foo) ... )
results in this byte-compilation warning:
In end of data:
lib.el:2029:1:Warning: the function `foo' is not known to be defined.
I think the warning is wrong because it should be pretty easy for the
compiler to see that `foo' is always defined.
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) X
http://dhimmi.com http://truepeace.org http://www.PetitionOnline.com/tap12009/
http://mideasttruth.com http://ffii.org http://www.memritv.org
Even Windows doesn't suck, when you use Common Lisp
next reply other threads:[~2011-02-28 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 15:16 Sam Steingold [this message]
2011-02-28 16:24 ` bug#8140: 24.0.50; wrong compilation warning Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=svbp1wkx4h.fsf@tbox.wtc.algo \
--to=sds@gnu.org \
--cc=8140@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).