Bug 58 – C/C++ bool to D bool conversion

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
Mac OS X
Creation time
2006-03-20T03:55:00Z
Last change time
2015-06-09T05:14:38Z
Assigned to
bugzilla
Creator
afb

Comments

Comment #0 by afb — 2006-03-20T03:55:40Z
The size of a "bool" in C / C++ is not defined, so the documentation for D should reflect this: Mapping C type to D type C type D type bool byte or int Both sizes are being used on Mac OS X for instance, PPC uses "int" (4 bytes) while PPC64 uses "byte"...