digitalmars.D.bugs - [Issue 10469] New: WinAPI declarations in std.process should be moved to core.sys.windows.windows
- d-bugmail puremagic.com (44/44) Jun 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10469
- d-bugmail puremagic.com (12/12) Jun 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10469
- d-bugmail puremagic.com (13/13) Jun 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10469
- d-bugmail puremagic.com (11/11) Jun 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10469
- d-bugmail puremagic.com (10/10) Jun 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10469
http://d.puremagic.com/issues/show_bug.cgi?id=10469 Summary: WinAPI declarations in std.process should be moved to core.sys.windows.windows Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: andrej.mitrovich gmail.com ReportedBy: andrej.mitrovich gmail.com 15:25:08 PDT --- These Windows API declarations should be moved out of std.process and into core.sys.windows.windows: ----- version (Windows) { extern(Windows) BOOL GetHandleInformation(HANDLE hObject, LPDWORD lpdwFlags); extern(Windows) BOOL SetHandleInformation(HANDLE hObject, DWORD dwMask, DWORD dwFlags); extern(Windows) BOOL TerminateProcess(HANDLE hProcess, UINT uExitCode); extern(Windows) LPWSTR* CommandLineToArgvW(LPCWSTR lpCmdLine, int* pNumArgs); enum { HANDLE_FLAG_INHERIT = 0x1, HANDLE_FLAG_PROTECT_FROM_CLOSE = 0x2, } enum CREATE_UNICODE_ENVIRONMENT = 0x400; } ----- The reason why is because code which uses both the WindowsAPI[1] project and std.process together can fail to build due to conflicts. It's mostly the enum definitions that are the problem, but we should move the function declarations to core.sys.windows.windows as well. [1] : http://www.dsource.org/projects/bindings/wiki/WindowsApi -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10469 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull 15:38:06 PDT --- Both need to be pulled together: https://github.com/D-Programming-Language/druntime/pull/533 https://github.com/D-Programming-Language/phobos/pull/1371 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10469 Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/e12b000d05e6fa6d4bd08c611504ca4bf912f510 Fixes Issue 10469 - Move WinAPI prototypes and enums need by std.process into core.sys.windows.windows. https://github.com/D-Programming-Language/druntime/commit/3e51a556de7e943ddd026f8beb35ffccfc9cf408 Issue 10469 - Move WinAPI prototypes and enums need by std.process to core.sys.windows.windows -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10469 Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/f7b36b9124b8e0769d2a8a318745d5e9c4d61fda Fixes Issue 10469 - Remove WinAPI prototypes and enums from std.process. https://github.com/D-Programming-Language/phobos/commit/4e7cb93c44c1626c986b96b60dce7dcae934cc54 Issue 10469 - Remove WinAPI prototypes and enums from std.process. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10469 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 24 2013