From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#8140: 24.0.50; wrong compilation warning Date: Mon, 28 Feb 2011 10:16:30 -0500 Message-ID: Reply-To: sds@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298907437 2770 80.91.229.12 (28 Feb 2011 15:37:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2011 15:37:17 +0000 (UTC) To: 8140@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 28 16:37:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pu59p-0002Tu-9h for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Feb 2011 16:37:09 +0100 Original-Received: from localhost ([127.0.0.1]:48160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu59o-0006wz-GJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Feb 2011 10:37:08 -0500 Original-Received: from [140.186.70.92] (port=55759 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu59c-0006vC-LX for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2011 10:37:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu59T-0004LA-Eh for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2011 10:36:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu59T-0004L4-9V for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2011 10:36:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pu4qM-0004aJ-1C; Mon, 28 Feb 2011 10:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Feb 2011 15:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8140 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129890622117617 (code B ref -1); Mon, 28 Feb 2011 15:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Feb 2011 15:17:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pu4qK-0004a0-NN for submit@debbugs.gnu.org; Mon, 28 Feb 2011 10:17:01 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pu4qH-0004Zn-Hl for submit@debbugs.gnu.org; Mon, 28 Feb 2011 10:16:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu4qB-0008LD-At for submit@debbugs.gnu.org; Mon, 28 Feb 2011 10:16:52 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:55536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu4qB-0008L9-8g for submit@debbugs.gnu.org; Mon, 28 Feb 2011 10:16:51 -0500 Original-Received: from [140.186.70.92] (port=38018 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu4q9-000084-Hx for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2011 10:16:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu4q8-0008JU-BK for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2011 10:16:49 -0500 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:36253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu4q6-0008IQ-5R; Mon, 28 Feb 2011 10:16:46 -0500 Original-Received: by vws13 with SMTP id 13so4055841vws.0 for ; Mon, 28 Feb 2011 07:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:subject:user-agent :mail-copies-to:return-receipt-to:reply-to:x-attribution :x-disclaimer:date:message-id:mime-version:content-type; bh=WCByvXIK+68TTcjJmmrPht2pnIzqa/D5wflhz1YOsQA=; b=ll8r71BGUZQp1FuEsZUQXhnZM/ezxy7HuUzrhnDEYAYNAS/RPgN6VGdRJXCDK8ZAUD NmCLjiFCSx6HcnyMqHM1k34sDwcuvXecRgEvX6ghnvijqWjg6ZN+J5Xj3MXanwn7KurU +IqT2V3Y1cj8ELYnXIS4MMX0ZTaFPX0/MIimQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:user-agent:mail-copies-to:return-receipt-to :reply-to:x-attribution:x-disclaimer:date:message-id:mime-version :content-type; b=rr5F3Odub2DWBgB67y41CAddbzFec70zmHxPJz7+CvfEDb3TvSKt7tfNR4SzyOAlZU a0LjHi5h0XDKn5IgEt7xsww+XIoNRgGmVY/LXZD9TLM8P58qVqWRaDDgqIZw6aZPQZD/ Whc7Z7+iQ9isC4RW0rssUA8Wd81VzKACuVyV0= Original-Received: by 10.52.166.195 with SMTP id zi3mr385618vdb.89.1298906192971; Mon, 28 Feb 2011 07:16:32 -0800 (PST) Original-Received: from tbox.wtc.algo (rrcs-24-103-48-205.nyc.biz.rr.com [24.103.48.205]) by mx.google.com with ESMTPS id c16sm629692vdu.31.2011.02.28.07.16.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Feb 2011 07:16:31 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 28 Feb 2011 10:17:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44442 Archived-At: 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