Trouble with Cortex-M "Hello World"

Jens Bauer via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 1 05:56:22 PDT 2015


Unfortunately, my attempt to build GDC on my CubieBoard2 failed.

However, I decided to change the line slightly, in order to find 
out exactly what's going wrong...


src/start.d:46:12: error: mismatched array lengths, 0 and 3
      uint[4]message=[2,cast(uint)"hello\r\n".ptr,7];
             ^
make: *** [output/src/start.o] Error 1

This means that the arry on the right hand side is actually 
parsed correctly.
It seems that the number [3] or [4] is parsed/read as zero ??


More information about the Digitalmars-d mailing list