[m-dev.] warning suppression pragmas
zs at unimelb.edu.au
Mon May 27 16:56:09 AEST 2013
On 27-May-2013, Julien Fischer <jfischer at opturion.com> wrote:
> A modification of this proposal is to add another pragma that suppresses
> module level warnings.
> :- pragma suppress_module_warnings([<module warnings>]).
> Under this proposal the original, suppress_warnings/2 pragma would become:
> :- pragma suppress_pred_warnings(<pred>/<arity>, [<pred warnings>])
I like this, but what module level warnings are you thinking of?
> I am looking for feedback about whether either of my proposed
> generalisations should be implemented.
That depends. What warnings are you getting that are annoying enough
often enough that you want to put in the time to implement this?
More information about the developers