From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.devel Subject: Re: Science to suppress compiler warnings Date: Wed, 03 Jun 2009 14:26:20 +0200 Organization: GNU's Not UNIX! Message-ID: <877hzth5ar.wl%xma@gnu.org> References: <87fxeigro9.wl%xma@gnu.org> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1244061760 14951 80.91.229.12 (3 Jun 2009 20:42:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jun 2009 20:42:40 +0000 (UTC) Cc: 'Xavier Maillard' , Drew Adams , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 03 22:42:37 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MBxID-00038l-EB for ged-emacs-devel@m.gmane.org; Wed, 03 Jun 2009 22:42:37 +0200 Original-Received: from localhost ([127.0.0.1]:37359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBxIC-0006ns-IH for ged-emacs-devel@m.gmane.org; Wed, 03 Jun 2009 16:42:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBxI6-0006na-T4 for emacs-devel@gnu.org; Wed, 03 Jun 2009 16:42:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBxI1-0006n8-R9 for emacs-devel@gnu.org; Wed, 03 Jun 2009 16:42:29 -0400 Original-Received: from [199.232.76.173] (port=38966 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBxI1-0006n5-N0 for emacs-devel@gnu.org; Wed, 03 Jun 2009 16:42:25 -0400 Original-Received: from cha51-2-82-244-211-40.fbx.proxad.net ([82.244.211.40]:57588 helo=mail.maillard.mobi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MBxHz-0002eJ-Qh; Wed, 03 Jun 2009 16:42:24 -0400 Original-Received: from zogzog.zogzog.maillard.mobi (unknown [192.168.0.254]) by mail.maillard.mobi (Postfix) with ESMTPS id CDBDBAAEF; Wed, 3 Jun 2009 22:45:58 +0200 (CEST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?UTF-8?B?U2FuasWN?=) APEL/10.7 Emacs/23.0.93 (i486-slackware-linux-gnu) MULE/6.0 (HANACHIRUSATO) User-Agent: Rmail GNU emacs 23.0 on Slackware 12.2.0 Jabber-ID: xma01@jabber.fr X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111325 Archived-At: At Wed, 03 Jun 2009 10:40:20 +0200, Andreas Schwab wrote: > > "Drew Adams" writes: > > >> (eval-when-compile (defvar foo nil)) > > > > (eval-when-compile (defvar foo)) > > > > You don't give it a value; you just declare it (to the compiler). > > You don't even need eval-when-compile, since toplevel defvars are always > seen by the compiler, and a defvar without a value never sets the > variable. Thank you that answers my other question to Stefan. Xavier