Build v3.03 released

dickl dick221z at yahoo.com
Fri Sep 22 11:38:34 PDT 2006


I forgot to mention &  since you are fixing things... the same problem 
occurs with the .RES file, a '+' is on there after the file and before 
the linker flags. The linker doesn't seem to care but it really 
shouldn't be there.


Derek Parnell wrote:
> On Thu, 21 Sep 2006 22:17:57 -0400, dickl wrote:
> 
>> That won't quite work, it leaves a trailing '+' which the linker doesn't 
>> like.
> 
> LOL. Yeah, I found that out in my testing.
> 
> Here is the code I ended up using....
> 
>                 lLibraryFiles = vDefaultLibs ~ lLibraryFiles;
>                 if (lLibraryFiles.length > 0)
>                 {
>                     foreach( int i, char[] lLib; lLibraryFiles)
>                     {
>                         lLib =  std.path.addExt(lLib, vLibExtention);
>                         if (i > 0)
>                             lCommandLine ~= vArgFileDelim;
>                         lCommandLine ~= vLinkLibSwitch ~
>                                         util.str.enquote(lLib);
>                     }
>                 }
>                 lCommandLine ~= "\n";
> 
> This caters for situations where the 'vArgFileDelim' is longer than one
> character.
> 



More information about the Digitalmars-d-announce mailing list