How is the D programming language financed?

Iain Buclaw ibuclaw at ubuntu.com
Thu Dec 23 15:32:59 PST 2010


== Quote from Caligo (iteronvexor at gmail.com)'s article
> --001636e0a9cc00219904981c2ad9
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
> You got me excited, so I decided to give GDC another try.  I cloned the
> repo, and using GCC 4.4.5, it compiled without errors.
> I started following the examples in TDPL, but the Stat program on page 22
> gives the following errors:
> t1.d:33: Error: void has no value
> t1.d:33: Error: incompatible types for ((readf(" %s ",& x)) =3D=3D (1)): 'v=
> oid'
> and 'int'
> is there a typo in the code, or is this some kind of bug in GDC?

Hard to say without the code example, however, what I can say is that the error
is emitted from the DMD frontend, and not the GDC glue/GCC backend.

Regards


More information about the Digitalmars-d mailing list