string not aliased
Anders F Björklund
afb at algonet.se
Wed Aug 15 09:39:47 PDT 2007
Regan Heath wrote:
>> The example is using D 2.0, while GDC supports D 1.0 at the moment.
>> (the language was split into two different versions a while ago...)
>>
>> int main(char[][] args)
>
> Technically I guess it's D 1.016 or D 2.0 code. Am I correct about
> rebuilding phobos (in my reply to the OP) or will that fail utterly?
You are right, it'll probably be fixed in GDC 0.24 then. (DMD 1.018)
The aliases can probably be added to the object.d manually meanwhile
alias char[] string;
alias wchar[] wstring;
alias dchar[] dstring;
--anders
More information about the Digitalmars-d-learn
mailing list