On 12-02-14 03:01 PM, JP Moresmau wrote:
I'm confused: I'm using GHC 7.0.2 and Cabal 1.10.1.0 with
cabal-install 0.10.2. I use -Wall in my Cabal file. If I build a
Haskell file with unused do binds, via the GHC API I get no warning,
which is normal, since the doc states: The warnings that are
Yes, I would have suspected that the doc was wrong, and indeed the
latest version on GHC 7.4 does not mention that flag as being
excluded, but the fact is that through the GHC API, I don't get that
warning! I can get other warnings so I would say that the way I use
the API is correct.In the GHC
I'm confused: I'm using GHC 7.0.2 and Cabal 1.10.1.0 with
cabal-install 0.10.2. I use -Wall in my Cabal file. If I build a
Haskell file with unused do binds, via the GHC API I get no warning,
which is normal, since the doc states: The warnings that are not
enabled by -Wall are ...,