Trouble with Cortex-M "Hello World"

Mike via Digitalmars-d digitalmars-d at
Tue Mar 31 04:23:40 PDT 2015

On Tuesday, 31 March 2015 at 10:39:05 UTC, Jens Bauer wrote:

> Referring to the tutorial on this page:
> <>
> -I'm getting the following error:
> start.d:45:11: error: mismatched array lengths, 0 and 3
>    uint[3] message =
>            ^
> ... I've carefully checked the code, but found no difference. 
> Is this the expected behaviour ?
> When I change the square brackets to parantheses, the error 
> goes away, but I'm not sure that is the correct fix ?

I just cut and pasted the code from the wiki myself and compiled 
with my arm-none-eabi-gdc cross-compiler and it works fine.  I'm 
sorry, but I'm not sure what the problem could be.


More information about the Digitalmars-d mailing list