D1: Error: duplicate union initialization for size

jicman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 23 10:50:16 PDT 2014


Greetings.

I know that D1 will be deprecated pretty soon and I have a huge 
project based on D1.  I am trying to build everything using the 
latest D1 build (1.076).  I am looking into cleaning up a lot of 
code for this project that uses, dbi, juno and dfl.  I am finding 
this error while compiling the code:

c:\D\dmd1.76\dmd\import\dfl\control.d(7634): Error: duplicate 
union initialization for size

This is line 7634:

const Size DEFAULT_SCALE = { 5, 13 };

What does the error say and how can I fix it?  Thanks.

josé


More information about the Digitalmars-d-learn mailing list