I'm a little bit late to the 8.0.1 show, but nevertheless: Motivated by the
current discussion about -Wcompat and friends I decided to take a detailed
look at the warnings in my projects and hit a regression(?): Somehow I'm
unable to suppress the "Top-level binding with no type signature" warnings
from 8.0.1 onwards.

The gory details: In my .cabal file I set -Wall (
https://github.com/haskell-opengl/OpenGLRaw/blob/master/OpenGLRaw.cabal#L618),
and in my .travis.yml I set -Werror (
https://github.com/haskell-opengl/OpenGLRaw/blob/master/.travis.yml#L76).
But the -Wno-missing-signatures pragma (
https://github.com/haskell-opengl/OpenGLRaw/blob/master/src/Graphics/GL/Tokens.hs#L2)
doesn't work, see
https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/109400373. Using
-fno-warn-missing-signatures didn't work, either, see
https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/109396738.

Am I doing something wrong here or is this really a regression? I'm quite
sure that suppressions via pragmas worked in the past... :-(

Cheers,
   S.
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to