[Bug 58] New: C/C++ bool to D bool conversion
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Mar 20 01:55:42 PST 2006
    
    
  
http://d.puremagic.com/bugzilla/show_bug.cgi?id=58
           Summary: C/C++ bool to D bool conversion
           Product: D
           Version: unspecified
          Platform: All
               URL: http://www.digitalmars.com/d/htomodule.html
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: afb at algonet.se
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"...
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list