[GHC] #14613: Validate Failure On OSX -- implicit fall through error for machO linker support (master == ghc8.5)

GHC ghc-devs at haskell.org
Wed Jan 10 10:19:05 UTC 2018


#14613: Validate Failure On OSX -- implicit fall through error for machO linker
support  (master == ghc8.5)
-------------------------------------+-------------------------------------
        Reporter:  carter            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.3
  (Linking)                          |
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 I originally suggested the pragma because that's supposed to be more
 portable while the comment is a GCC only thing. While it'll work in this
 case, be adviced that GCC will no longer recognize this comment in the
 stricter variants of the warning e.g. `-Wimplicit-fallthrough=5`

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


More information about the ghc-tickets mailing list