ERROR - "cannot implicitly convert expression (s) of type int[3u] to int*"

Don nospam at nospam.com
Fri Jun 18 12:07:19 PDT 2010


Stewart Gordon wrote:
> Chick Corea wrote:
>> [NOTE - sent twice as I was unsure that first attempt,
>> pre-subscription, was received.]
>>
>> Working through the basics of D and running into simple problems that I
>> cannot solve, such as:
>>
>>     Error: cannot implicitly convert expression (s) of type int[3u] to 
>> int*
>>     Error: cannot implicitly convert expression (a) of type int[] to int*
>>
>> Those are the result of code that I pulled directly from the D v1 docs 
>> from
>>
>>     http://www.digitalmars.com/d/1.0/arrays.html
> <snip>
> 
> This was deprecated in 0.177, but the example code is out of date.
> 
> http://d.puremagic.com/issues/show_bug.cgi?id=996
> 
> Stewart.

I've just checked in a fix.


More information about the Digitalmars-d-learn mailing list