rdmd.exe doesn't compile on windows

Rainer Schuetze r.sagitario at gmx.de
Tue Jan 29 09:44:05 PST 2013



On 29.01.2013 18:19, Andrej Mitrovic wrote:
> On 1/29/13, ollie <ollie at home.net> wrote:
>> rdmd.exe stopped compiling on Windows a couple of days ago.
>
> Thanks for the report.
>
>> +            ShellExecuteA(null, toUTFz!(LPCSTR)("open"), toUTFz!(LPCSTR)
>> (page), null, null, SW_SHOWNORMAL);
>
>
> For the "A" versions you can simply use toStringz, and D string
> literals are zero-appended by default so "open" doesn't have to be
> changed (note that means only for string literals, not string
> variables).
>
> https://github.com/D-Programming-Language/tools/pull/42
>

To be pedantic, both toUTFz and toStringz are wrong, the A functions 
expect toMBSz() to get at least some non-ASCII characters right.


More information about the Digitalmars-d mailing list