From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tobin Harding Newsgroups: gmane.lisp.guile.user Subject: Re: compiler messages Date: Fri, 1 Jul 2016 09:38:44 +1000 Message-ID: <20160630233844.GA11909@eros.local> References: <20160630105700.GB10380@eros.local> <4D7A751A-E8BA-4B58-949C-20A9C72CF1F8@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1467329980 1857 80.91.229.3 (30 Jun 2016 23:39:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2016 23:39:40 +0000 (UTC) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jul 01 01:39:29 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bIlYP-0000Vu-F7 for guile-user@m.gmane.org; Fri, 01 Jul 2016 01:39:29 +0200 Original-Received: from localhost ([::1]:53055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIlYO-0007GJ-Ek for guile-user@m.gmane.org; Thu, 30 Jun 2016 19:39:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIlY1-0007G2-Kt for guile-user@gnu.org; Thu, 30 Jun 2016 19:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIlXx-00061D-GE for guile-user@gnu.org; Thu, 30 Jun 2016 19:39:04 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIlXv-00060X-1l for guile-user@gnu.org; Thu, 30 Jun 2016 19:39:01 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8778820978; Thu, 30 Jun 2016 19:38:48 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Thu, 30 Jun 2016 19:38:48 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=tobin.cc; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=AEhiBSaozSk3Egp7kmPbgvPQ2Dc=; b=LiT2HW pyLfPe3r4db1SuLnXktnd1KsHl9cnwvd0rpKJd+/9yqHflJMxvDoN0yMSlkJJ5Na 7s9Q31IMExAc/eRzvw2f74Sdn8eE41/4KA8PHfAWPEU+Jcbp8uyWoy5T/Ar6MIvR RfABKsmN3pPbw1YspXtCw9y/OfT1WllBsUJo4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=AEhiBSaozSk3Egp 7kmPbgvPQ2Dc=; b=P+fNls3LjwLVTsC2SHceLrOTMHiWh/nPOsw8g5/UMTudnm4 GTtAX6KGUkFB/89HoAnViEq+30vBq+TaMxPVlNsI2g3qrHTIOvL5jIN+AnxrBm8c T4+aPTNsj6jfuA7CB6cMpxyssb8bQn74TXEz03YjPVWSfCn0W5dV4ikbopP4= X-Sasl-enc: 9tkAPQ7mTjtFe/Xw9vYxOMTd48bzduigw+6wBxGwSc1x 1467329927 Original-Received: from eros.local (ppp121-44-43-145.lns20.syd4.internode.on.net [121.44.43.145]) by mail.messagingengine.com (Postfix) with ESMTPA id 3A3DDCCDBA; Thu, 30 Jun 2016 19:38:46 -0400 (EDT) Content-Disposition: inline In-Reply-To: <4D7A751A-E8BA-4B58-949C-20A9C72CF1F8@gmail.com> X-Mailer: Mutt 1.6.1 (2016-04-27) User-Agent: Mutt/1.6.1 (2016-04-27) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.27 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:12712 Archived-At: On Thu, Jun 30, 2016 at 05:59:09AM -0700, Matt Wette wrote: > > > On Jun 30, 2016, at 3:57 AM, Tobin Harding wrote: > > > > Request for advice as to whether to submit patch? > > > > I have hacked together a patch to quieten down the compiler when loading a file > > at the REPL (when using --auto-compile). > > ... > > I like the idea but I think it may not be popular with the maintainers. > > And to be honest, I’d prefer the argument to be “—with-compiler-messages” and > the default to be off. Thanks for your input Matt. I actually added two command line options, one (which is the default, and not previously mentioned) --with-compiler-messages and one that achieves the goal, --without-compiler-messages. I thought it most polite to leave the default behaviour unchanged, hence the choice of names and default behaviour. > You can get rid of the messages by piping stderr to /dev/null: We only want to inhibit the messages for a successful build, we still want to see any compiler warnings, a la running make on a single file. thanks, Tobin.