From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8715: 23.3.50; Use GNU, not Windows syntax in example code in flymake manual Date: Fri, 15 Jul 2011 16:01:05 +0200 Message-ID: References: <87aaef8zlt.fsf@sc3d.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310739819 10404 80.91.229.12 (15 Jul 2011 14:23:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2011 14:23:39 +0000 (UTC) Cc: 8715@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 16:23:34 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhjIi-0000b6-Rz for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 16:23:33 +0200 Original-Received: from localhost ([::1]:54453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhjIh-0001Nc-Hz for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 10:23:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qhiy2-0004YK-Mh for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 10:02:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qhixw-0000Nn-Vo for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 10:02:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qhixw-0000Nc-F2 for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 10:02:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qhixv-0000Rw-CJ; Fri, 15 Jul 2011 10:02:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2011 14:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8715-submit@debbugs.gnu.org id=B8715.13107384911674 (code B ref 8715); Fri, 15 Jul 2011 14:02:03 +0000 Original-Received: (at 8715) by debbugs.gnu.org; 15 Jul 2011 14:01:31 +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 1QhixO-0000Qw-81 for submit@debbugs.gnu.org; Fri, 15 Jul 2011 10:01:30 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhixJ-0000QN-8c for 8715@debbugs.gnu.org; Fri, 15 Jul 2011 10:01:25 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qhix5-0002qN-El; Fri, 15 Jul 2011 16:01:11 +0200 In-Reply-To: <87aaef8zlt.fsf@sc3d.org> (Reuben Thomas's message of "Sat, 21 May 2011 23:20:46 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joni Mitchell's _Miles of Aisles_: "Cactus Tree" X-Hashcash: 1:23:110715:rrt@sc3d.org::H2YyurlI2DPpqEgS:00000I2Pz X-Hashcash: 1:23:110715:8715@debbugs.gnu.org::g783X/fL0eqjOqGf:00000000000000000000000000000000000000001Hd5r X-MailScanner-ID: 1Qhix5-0002qN-El MailScanner-NULL-Check: 1311343271.61056@d1+/0cVSoBzjxChfMls9/g X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 15 Jul 2011 10:02:03 -0400 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49139 Archived-At: Reuben Thomas writes: > The flymake manual contains the following handy sample make rule: > > check-syntax: > gcc -o nul -S ${CHK_SOURCES} > > But using =93nul=94 is useful on Windows (it works on GNU too, but creates > an output file, and the point of the rule is to avoid doing that). > Hence, use the GNU syntax: > > check-syntax: > gcc -o /dev/null -S ${CHK_SOURCES} I've now done this change in Emacs 24. > A further suggestion is to suggest the following rule for automake users: > > check-syntax: > $(COMPILE) -o /dev/null -S $(CHK_SOURCES) > > As this adds compiler flags which may be needed, for example to find > include files. A further reason this is handy is that the undocumented > make target dumpvars which is used by > flymake-get-project-include-dirs-imp cannot easily be implemented in > automake (at least, my attempt ended in tears, since it required the use > of a GNU make construct, which is not permitted in automake). The above > check-syntax target makes this unnecessary. I know next to nothing about flymake, so I'm afraid I'm not a good judge of this change, though. Anybody? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/