www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16049] New: core.sys.windows structs have wrong sizes and

https://issues.dlang.org/show_bug.cgi?id=16049

          Issue ID: 16049
           Summary: core.sys.windows structs have wrong sizes and aligns
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: jiki red.email.ne.jp

core.sys.windows.* modules came with 2.070.
I'm verifying sizes of the structs by comparing with ones in Windows SDK
headers.

So, I found that many have wrong sizes and/or field alignments.
These problems would make runtime error.
Most of them are in Win64 environment.

I'll send a PR later.

--
May 19 2016