[GHC] #9956: Command line flag deprecated warning could be annoying for -Werror users

GHC ghc-devs at haskell.org
Sun Jan 4 18:52:18 UTC 2015


#9956: Command line flag deprecated warning could be annoying for -Werror users
-------------------------------------+-------------------------------------
              Reporter:  ezyang      |             Owner:  ezyang
                  Type:  bug         |            Status:  new
              Priority:  high        |         Milestone:  7.10.1
             Component:  Compiler    |           Version:  7.11
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  None/Unknown
  Unknown/Multiple                   |        Blocked By:
             Test Case:              |   Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 In 7.10 we deprecated the poorly named `-package-name` for `-this-package-
 key`. However, I was working with GHC's validate script and I noticed that
 this behavior actually might be pretty annoying, because it causes GHC to
 fail on `-Werror`, and there doesn't seem to be any way of turning off
 this behavior.

 So maybe we should add a -fno-warn flag which controls flag warnings. But
 old GHCs wouldn't accept that flag, so it doesn't make it any more
 convenient for people to keep their old build scripts running while
 squelching the warning. Or we could drop the deprecation warning for now
 and start bleating about it next release.

 Setting priority high because whatever we decide to do, we need to decide
 it before 7.10 release.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9956>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list