pipedmd -msmode Should be the default

sdvcn via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Sat Dec 6 19:06:38 PST 2014


On Friday, 5 December 2014 at 10:15:03 UTC, sdvcn wrote:
> On Friday, 5 December 2014 at 10:04:43 UTC, sdvcn wrote:
>> Certain probability utf-8 errors.
>>
>> pipedmd.d
>>
>> if(!linkerFound)
>> {
>>    if (output.startsWith("OPTLINK (R)"))
>>        linkerFound = true;
>>    else if(output.countUntil("error LNK") >= 0 || 
>> output.countUntil("warning LNK") >= 0) // <-- utf-8 error
>>        linkerFound = msMode = true;
>> }
>>
>> my chinese os,link info "错误 LNK" or "警告 LNK"
>>
>>
>> config.d
>>
>> if(performLink && Package.GetGlobalOptions().demangleError)
>> 	cmd = "\"$(VisualDInstallDir)pipedmd.exe\" " ~ cmd; // <-- no 
>> set msmode
>>
>> I can not find where to set "msmode"
>
> win32:(OPTLINK (R) for Win32  Release 8.00.15)
> not set "Demangle names in link errors" Unable to import lib 
> path .
> if set "Demangle names in link errors". Can be compiled
>
> x64:(Microsoft (R) Incremental Linker Version 12.00.30324.0)
> not set "Demangle names in link errors" .Can be compiled
>
> if set "Demangle names in link errors". Certain probability 
> utf-8 errors.
>
> std.utf.UTFException at m:\s\d\rainers\phobos\std\utf.d(1109): 
> Invalid UTF-8 sequence (at index 1)
> ----------------

Please ignore this error report

my Solutions:
Not choose "Demangle names in link error"
Not choose "Monitor OPTLINK dependencies"

Modify "sc.ini"
[Environment64]
VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 
12.0\vc\
WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.1\
LINKCMD=%VCINSTALLDIR%\bin\link.exe

Not choose x64 page "override linker settings from dmd 
configuration in sc.ini."





More information about the Digitalmars-d-ide mailing list