D component programming is a joke (Was: Re: Component programming)

H. S. Teoh hsteoh at quickfur.ath.cx
Fri Aug 2 15:00:01 PDT 2013


On Fri, Aug 02, 2013 at 08:49:30PM +0200, Timon Gehr wrote:
> On 08/02/2013 07:24 AM, H. S. Teoh wrote:
> >...
> >Anyway. Enough hand-waving in the air. Let the actual code speak for
> >itself:
> >
> >	https://github.com/quickfur/dcal/blob/master/dcal.d
> >...
> 
> Which version of the compiler are you using?

I'm using git HEAD.


> I get the dreaded forward reference errors with at least DMD 2.060,
> DMD 2.063 and DMD 2.063.2 and the 2.x build on dpaste.

Can you send me the error messages? I'll see if I can reorder the code
to fix them.


> Git head gives me:
> 
> Error: undefined identifier '_xopCmp'
> dmd: clone.c:690: FuncDeclaration*
> StructDeclaration::buildXopCmp(Scope*): Assertion `s' failed.
> Aborted (core dumped)

That's new. It was working as of yesterday; must've been a new
regression in the commits since then?


T

-- 
The richest man is not he who has the most, but he who needs the least.


More information about the Digitalmars-d mailing list