Dfmt and LDC

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat Oct 10 08:33:36 PDT 2015


On Saturday, 10 October 2015 at 15:20:41 UTC, Russel Winder wrote:
> On Sat, 2015-10-10 at 15:51 +0200, David Nadlinger via 
> digitalmars-d- ldc wrote:
>> On 10 Oct 2015, at 15:46, Russel Winder via digitalmars-d-ldc 
>> wrote:
>> > Error: Unexpected number of object.TypeInfo_Struct fields; 
>> > druntime version does not match compiler
>> 
>> Are you absolutely positive that there is no old copy of 
>> "object"
>> being
>> picked up somewhere (-v)?
>
> No I am not. Mostly because I have no idea where alternate 
> version might come from. :-(
>
> I'm afraid I am not picking up the hint about -v, is there a 
> command I
> should be giving to get the information needed?

Hi Russel,

with -v option passed to ldc2 the compiler outputs information 
about the read files into the console. It helps a lot if you see 
that object.di is not read from the expected directory but from 
somewhere else.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list