[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Science to suppress compiler warnings

From: Andreas Schwab
Subject: Re: Science to suppress compiler warnings
Date: Wed, 03 Jun 2009 10:40:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

"Drew Adams" <address@hidden> 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


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]