guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Let's fix how warnings are specified


From: Ludovic Courtès
Subject: Re: Let's fix how warnings are specified
Date: Tue, 14 Feb 2012 15:00:42 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux)

Hi Mark,

Mark H Weaver <address@hidden> skribis:

> Here's a preliminary proposal:
>
> * Add new pseudo-warning types 'all' and 'default'.

Yes, but only at the UI level–i.e., in ‘guild compile’, along with
‘help’.

At the programming level there are better ways to do this, namely
(map car %warning-types) and %auto-compilation-options.

> * For each specific warning type 'FOO', we add 'no-FOO'.

Ditto.

(Keep in mind that currently, #:opts (#:warnings ()) means literally
zero warnings, and #:opts (#:warnings (foo)) means “only warning foo”.)

WDYT?

Thanks,
Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]