[Issue 10034] wWinMain and wmain fail to link

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 9 21:42:56 UTC 2021


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

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang at gmail.com
         Resolution|---                         |INVALID

--- Comment #4 from Mathias LANG <pro.mathias.lang at gmail.com> ---
[wmain is a Microsoft-specific
extension](https://docs.microsoft.com/en-us/cpp/c-language/using-wmain?view=msvc-160),
and D does not recognize all extensions that MSVC recognize. There's a bit of
documentation about it here: https://dlang.org/spec/function.html#betterc-main

As explained, it is implementation specific, so this looks like an invalid
issue.

--


More information about the Digitalmars-d-bugs mailing list