unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Re: compiler messages
       [not found] ` <4D7A751A-E8BA-4B58-949C-20A9C72CF1F8@gmail.com>
@ 2016-06-30 23:38   ` Tobin Harding
  0 siblings, 0 replies; only message in thread
From: Tobin Harding @ 2016-06-30 23:38 UTC (permalink / raw)
  To: Matt Wette; +Cc: guile-user

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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-30 23:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160630105700.GB10380@eros.local>
     [not found] ` <4D7A751A-E8BA-4B58-949C-20A9C72CF1F8@gmail.com>
2016-06-30 23:38   ` compiler messages Tobin Harding

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).