<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 12:23 AM, Vincent Hanquez <span dir="ltr"><<a href="mailto:tab@snarc.org" target="_blank">tab@snarc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 20/10/2015 22:12, Edward Kmett wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think Herbert was proposing adding a -Wcompat flag to use to get all warnings of known pending changes, even ones where action now can't be taken without CPP.<br>
<br>
e.g. for 8.0 this would include the warnings for the MonadFail proposal, etc.<br>
</blockquote></span>
Some other warnings like 'unused-imports' don't make much sense on by default with -Wall.<br>
This warning is only useful for linting purpose, and clearly doesn't fall in the same category as other useful ones.<br>
<br>
That would remove the need for a lot of CPP that got added in the 7.10 era, like:<br>
<br>
#if ...<br>
import Control.Applicative<br>
#end<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Vincent</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</div></div></blockquote></div><br><br>+1<br></div></div>