unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Tobin Harding <me@tobin.cc>
To: Matt Wette <matt.wette@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: compiler messages
Date: Fri, 1 Jul 2016 09:38:44 +1000	[thread overview]
Message-ID: <20160630233844.GA11909@eros.local> (raw)
In-Reply-To: <4D7A751A-E8BA-4B58-949C-20A9C72CF1F8@gmail.com>

On Thu, Jun 30, 2016 at 05:59:09AM -0700, Matt Wette wrote:
> 
> > On Jun 30, 2016, at 3:57 AM, Tobin Harding <me@tobin.cc> 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.



           reply	other threads:[~2016-06-30 23:38 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <4D7A751A-E8BA-4B58-949C-20A9C72CF1F8@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160630233844.GA11909@eros.local \
    --to=me@tobin.cc \
    --cc=guile-user@gnu.org \
    --cc=matt.wette@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).