www.digitalmars.com         C & C++   DMDScript  

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

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

          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
2.070:

 - 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
changes.

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

--
Jan 09