D1: Error: duplicate union initialization for size
Jacob Carlborg via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Aug 27 23:17:12 PDT 2014
On 27/08/14 23:48, jicman wrote:
> On Wednesday, 27 August 2014 at 06:20:24 UTC, Jacob Carlborg
> wrote:
>> On 23/08/14 19:50, jicman wrote:
>>
>>> This is line 7634:
>>>
>>> const Size DEFAULT_SCALE = { 5, 13 };
>>>
>>> What does the error say and how can I fix it? Thanks.
>>
>> Does the following make any difference?
>>
>> const Size DEFAULT_SCAL = Size(5, 13)
>
> I changed it from this,
>
> const Size DEFAULT_SCALE = { 5, 13 };
>
> to this,
>
> const Size DEFAULT_SCALE = Size(5,13);
>
> and now I am getting 4 errors: :-)
Of course you do :) I have honestly no idea what's going on.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list