www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15539] New: core.sys.windows.* tweaks for 2.070


          Issue ID: 15539
           Summary: core.sys.windows.* tweaks for 2.070
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com

The new core.sys.windows.* package needs some tweaks before it is released in

 - version(Unicode) code should be enabled by default. The ANSI aliases can be
either moved to version(ANSI) or deleted entirely.
 - remove uses of "ref" or "out" to match C declarations
 - typeof(NULL) should be typeof(null)
 - review typeof(MAX_PATH) and other constants

These changes must happen before 2.070 as otherwise they would become breaking

Additionally, we should add pragma(lib, "foo") in the respective modules.

Jan 09 2016