www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15997] New: Wrong constant value for

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

          Issue ID: 15997
           Summary: Wrong constant value for
                    ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED in winhttp
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: mathias.lang sociomantic.com

Currently the code reads as (L655):
```
     ERROR_WINHTTP_RESEND_REQUEST         = (WINHTTP_ERROR_BASE + 32),
     ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED = (WINHTTP_ERROR_BASE, + 44),
     ERROR_WINHTTP_CANNOT_CALL_BEFORE_OPEN = (WINHTTP_ERROR_BASE + 100),
```

Notice the comma exp on the second statement.

See https://github.com/dlang/druntime/pull/1561

--
May 06 2016