[GHC] #9727: -Werror=unused-but-set-variable causes validation error on Windows

GHC ghc-devs at haskell.org
Thu Oct 30 04:15:29 UTC 2014


#9727: -Werror=unused-but-set-variable causes validation error on Windows
-------------------------------------+-------------------------------------
              Reporter:  gintas      |            Owner:  gintas
                  Type:  bug         |           Status:  closed
              Priority:  normal      |        Milestone:
             Component:  Build       |          Version:  7.9
  System                             |         Keywords:
            Resolution:  fixed       |     Architecture:  Unknown/Multiple
      Operating System:  Windows     |       Difficulty:  Unknown
       Type of failure:  Building    |       Blocked By:
  GHC failed                         |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:  Phab:D373   |
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"acb3295c69179159ba8230baff4104414c1db2c2/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="acb3295c69179159ba8230baff4104414c1db2c2"
 Avoid setting -Werror=unused-but-set-variable on Windows.

 Summary:
 The option is not needed (it was only intended to override Debian's
 default)
 and causes an error if the host ghc's mingw is too old (which the script
 does not detect).

 Fixes T9727

 Reviewers: austin

 Reviewed By: austin

 Subscribers: thomie, carter, simonmar

 Differential Revision: https://phabricator.haskell.org/D373

 GHC Trac Issues: #9727
 }}}

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


More information about the ghc-tickets mailing list