[GHC] #13136: Foreign.C.Types does not have a CBool type

GHC ghc-devs at haskell.org
Wed Jan 18 22:39:54 UTC 2017


#13136: Foreign.C.Types does not have a CBool type
-------------------------------------+-------------------------------------
        Reporter:  simonmar          |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:  8.2.1
       Component:  libraries/base    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2982
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"0d769d5b96232ee0fe5a44f2ce5717bdb0e7eaa3/ghc"
 0d769d5b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0d769d5b96232ee0fe5a44f2ce5717bdb0e7eaa3"
 Add CBool to Foreign.C.Types

 This adds a `CBool` type wrapping C99's `bool`, i.e., an `unsigned
 char`.

 Fixes #13136.

 Test Plan: ./validate on Tier-1 platforms

 Reviewers: austin, hvr, simonmar, bgamari

 Reviewed By: simonmar, bgamari

 Subscribers: thomie, erikd

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

 GHC Trac Issues: #13136
 }}}

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


More information about the ghc-tickets mailing list