D1: Error: duplicate union initialization for size
    Ali Çehreli via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Tue Aug 26 13:42:43 PDT 2014
    
    
  
On 08/25/2014 11:36 PM, Jacob Carlborg wrote:
> On 26/08/14 00:57, jicman wrote:
>>
>> Ok, let's try something simpler...  Where can I find the D1 v1.076
>> compiler error meaning of,
>>
>> Error: duplicate union initialization for size
>>
>> for this line,
>>
>> const Size DEFAULT_SCALE = { 5, 13 };
>
> How does the code for Size look like?
>
In case it helps you or others to answer, the code appears in D2 as well:
   https://github.com/D-Programming-Language/dmd/blob/master/src/todt.c#L908
The following bug is fixed for D2, which may be the same issue:
   https://issues.dlang.org/show_bug.cgi?id=8902
Ali
    
    
More information about the Digitalmars-d-learn
mailing list