From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: hector Newsgroups: gmane.emacs.help Subject: Re: unexpected byte-compiler behaviour Date: Thu, 9 Mar 2017 23:49:45 +0100 Message-ID: <20170309224944.GA3148@workstation> References: <20170309174614.GA3572@workstation> <20170309192503.GB2999@workstation> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1489100044 19035 195.159.176.226 (9 Mar 2017 22:54:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2017 22:54:04 +0000 (UTC) User-Agent: Mutt/1.5.20 (2009-06-14) Cc: john.b.mastro@gmail.com To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 09 23:53:59 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm6wU-0003zL-NW for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 23:53:54 +0100 Original-Received: from localhost ([::1]:36576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm6wa-0004Qr-Fp for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 17:54:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm6w8-0004Ql-Vu for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 17:53:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cm6w4-0006oO-4y for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 17:53:33 -0500 Original-Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:36381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cm6w3-0006oG-Ul for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 17:53:28 -0500 Original-Received: by mail-wr0-x244.google.com with SMTP id l37so9596025wrc.3 for ; Thu, 09 Mar 2017 14:53:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=n3rYx0MoufiXLvN2ygB0TrYbmljuDqqp7W79Z+NDjIE=; b=ao8LFhqKC1uaRa9qyGg+TBcodTuEWRO8PKjyphjqxWNxiWeND/lbf/CQigf+LcqCYx KE1Ox0sfPODaxOahpmABfuTPt4agogsgfuFTbqpTJ5KORSitbzRQm96TxTfGTamgtl1u cN/XT33H/sQJqQRpnZiwjoR5WxOEagfTDH5ord9ohlonCVvriqg4wsFdPrXtbAfTofJv AEdBrormQc+V333q3VLyMQS48yt1IFSkRefAwCEBPbE7O7qbaXc7LqGpgbeWg1dBrm+f 0n2bg489r2lGJNQjftGxp/Hi/h2KueeyQRBw/QR0+yb8As7yJFKDWGgpNbdx01KCPGO9 cRvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=n3rYx0MoufiXLvN2ygB0TrYbmljuDqqp7W79Z+NDjIE=; b=EgTMD0lkiSDQeNcu0zXiwEO0523CgIwZ0YVbH81qxm/sloiIBx+PHosUHMQD140LIT QHRkTUSW1a5nxdJbK2pXB6t/WSLk1fbJ2zSUj46F4mUj5rJqHkSOH8Nj6hBudopPVzx0 grF06s+IXRBT8s431VeSh3U3S9eArW1dCu9ZnxdDuyu/8IHyaXiYvSv0ceLSbrxAyuiY DKdIafvNDTsdo+X8IAz9PwQvyw+eAlSO/sH2IxQeOoqROniSsgBQYoptEHL0RsMyDfWG qqNCCKc6dHkprmG8yBoiO/HI6NXbinDZ2BZgeGKKAGVA+8BhdrPahhzPBdu9usV/eqGS +h7Q== X-Gm-Message-State: AMke39l+9Wov3oRJxoAcnbxTw1JaLInlkLD2+fZc74qZvMZ+KCUKqR0LE9NwtmwIcMSCmA== X-Received: by 10.223.160.115 with SMTP id l48mr14046038wrl.24.1489100006683; Thu, 09 Mar 2017 14:53:26 -0800 (PST) Original-Received: from workstation ([148.56.6.196]) by smtp.gmail.com with ESMTPSA id q75sm449127wmd.27.2017.03.09.14.53.25 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Mar 2017 14:53:26 -0800 (PST) X-Google-Original-From: hector Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112502 Archived-At: On Thu, Mar 09, 2017 at 01:55:12PM -0800, John Mastro wrote: > Functions do need to be defined before they're called, just not before > the call is compiled. However, macros (like defclass) are expanded at > compile time, so they need to be defined before then. So basically linking is done, not at compilation like in C, but dynamically at run time. I think I get it. Thanks a lot. Could it be that my environment (loaded libraries) is affecting compilation? Is it advisable to run Emacs with -Q?