From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Org Build System (aka Makefile) Date: Mon, 13 Aug 2012 11:42:16 +0000 (UTC) Message-ID: References: <87y5mkrca2.fsf@Rainer.invalid> <87ipcs3smd.fsf@Rainer.invalid> <871ujf5i7g.fsf@gnu.org> <874no8dxik.fsf@Rainer.invalid> <87r4rb690j.fsf@gnu.org> <874no7qq1q.fsf@Rainer.invalid> <87mx1z1bp1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0t2X-0001FU-Gi for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 07:42:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0t2W-0000R2-Mx for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 07:42:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:36022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0t2W-0000Qr-Fe for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 07:42:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T0t2T-0004VV-JU for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 13:42:29 +0200 Received: from 217.10.60.85 ([217.10.60.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2012 13:42:29 +0200 Received: from Stromeko by 217.10.60.85 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2012 13:42:29 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien gnu.org> writes: > Please give me an example of a warning that is shown while compiling > within a single Emacs process and not shown while compiling files with > one Emacs process per file. I don't know if something like that currently exists, if you want to check set _COMPILE_=slint2 and compare the outputs of the three passes. I doubt there is, since the in-process compilation should be clean on current Git master. Conceivably, you could have a defconst in file1 and the same symbol as a defvar with initial value in file2, no requires in either file. If you now compile them in the order file1 and file2, you will get a warning when compiling in a single process, but not when you compile them in isolation. If they were both defvars w/ initialization, you'd never get a warning even though it is still wrong and the result at runtime depends on which file gets loaded first. Regards, Achim.