Foreign.C.Types does not have a CBool type
We should add a CBool corresponding to C99's bool. Using Haskell's Bool can lead to unexpected errors, because it corresponds to HsBool, which is word-sized whereas C99 bool is unsigned char.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.0.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | high |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |