Thread overview
[Issue 15539] core.sys.windows.* tweaks for 2.070
Jan 10, 2016
Vladimir Panteleev
Jan 10, 2016
Vladimir Panteleev
Jan 13, 2016
Vladimir Panteleev
Jan 18, 2016
Vladimir Panteleev
Dec 30, 2022
Iain Buclaw
January 10, 2016
https://issues.dlang.org/show_bug.cgi?id=15539

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com

--
January 10, 2016
https://issues.dlang.org/show_bug.cgi?id=15539

jiki@red.email.ne.jp changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jiki@red.email.ne.jp

--- Comment #1 from jiki@red.email.ne.jp ---
Unfortunately I doubt that it can be included in 2.070 release.

At least, it is mandatory to fix the following problems, otherwise they would yield critical RUNTIME errors.

- extern (Windows) missed : wrong calling convention
   For instance: the aliases of callback functions in commctrl.d and wingdi.d.
- API update for x64: mostly modifications for the pointer size change
   For instance: https://github.com/Rayerd/dfl/pull/50/commits

I tried to fix the former and gave up after a number of errors come. I have no idea to go over...

--
January 10, 2016
https://issues.dlang.org/show_bug.cgi?id=15539

--- Comment #2 from Vladimir Panteleev <thecybershadow@gmail.com> ---
(In reply to jiki from comment #1)
> Unfortunately I doubt that it can be included in 2.070 release.

Hi, sorry perhaps I should've clarified. (This is known to the relevant people but since this is a public post...) I was the one who did the core.sys.windows.* migration, and the above is a list of things I plan to fix myself. I've posted to let people know in advance that I plan to do it - I'm abroad at the moment, but will get to this next week.

> At least, it is mandatory to fix the following problems, otherwise they would yield critical RUNTIME errors.
> 
> - extern (Windows) missed : wrong calling convention
>    For instance: the aliases of callback functions in commctrl.d and
> wingdi.d.
> - API update for x64: mostly modifications for the pointer size change
>    For instance: https://github.com/Rayerd/dfl/pull/50/commits
>
> I tried to fix the former and gave up after a number of errors come. I have no idea to go over...

I agree that these are important problems, and I'll see if I can include them with my fixes, but they are actually less urgent than the ones above, because fixing them is not going to break any existing D code.

--
January 13, 2016
https://issues.dlang.org/show_bug.cgi?id=15539

--- Comment #3 from Vladimir Panteleev <thecybershadow@gmail.com> ---
(In reply to jiki from comment #1)
> - extern (Windows) missed : wrong calling convention
>    For instance: the aliases of callback functions in commctrl.d and
> wingdi.d.
> - API update for x64: mostly modifications for the pointer size change
>    For instance: https://github.com/Rayerd/dfl/pull/50/commits

Do you have a list of specific functions which need their signatures fixed?

--
January 14, 2016
https://issues.dlang.org/show_bug.cgi?id=15539

--- Comment #4 from jiki@red.email.ne.jp ---
(In reply to Vladimir Panteleev from comment #3)
> (In reply to jiki from comment #1)
> Do you have a list of specific functions which need their signatures fixed?

No, sorry.
I failed because I've expected only a small number of errors,
and began with Windows SDK headers (:P)
instead of MinGW headers.

--
January 18, 2016
https://issues.dlang.org/show_bug.cgi?id=15539

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #5 from Vladimir Panteleev <thecybershadow@gmail.com> ---
https://github.com/D-Programming-Language/druntime/pull/1472

--
December 30, 2022
https://issues.dlang.org/show_bug.cgi?id=15539

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ibuclaw@gdcproject.org
         Resolution|---                         |FIXED

--- Comment #6 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Linked PR got merged https://github.com/D-Programming-Language/druntime/pull/1472

--