www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Dfmt and LDC

Using a newly build LDC from the 2.068 branch.

Dfmt from master builds fine with dmd but results in the following with
the newly built LDC:

 make ldc
ldc2 -g -w -oq -Ilibdparse/src -Isrc -Ilibdparse/experimental_allocator/src src/dfmt/main.d src/dfmt/tokens.d src/dfmt/wrapping.d src/dfmt/formatter.d src/dfmt/globmatch_editorconfig.d src/dfmt/config.d src/dfmt/indentation.d src/dfmt/ast_info.d src/dfmt/editorconfig.d libdparse/src/std/d/parser.d libdparse/src/std/d/ast.d libdparse/src/std/d/formatter.d libdparse/src/std/d/entities.d libdparse/src/std/d/lexer.d libdparse/src/std/lexer.d libdparse/experimental_allocator/src/std/experimental/allocator/gc_allo cator.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/segregator.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/kernighan_ritchie.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/bucketizer.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/affix_allocator.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/region.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/free_list.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/null_allocator.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/allocator_list.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/stats_collector.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/fallback_allocator.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/scoped_allocator.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/bitmapped_block.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/package.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/free_tree.d libdparse/experimental_allocator/src/std/experimental/allocator/buildin g_blocks/quantizer.d libdparse/experimental_allocator/src/std/experimental/allocator/common. d libdparse/experimental_allocator/src/std/experimental/allocator/showcas e.d libdparse/experimental_allocator/src/std/experimental/allocator/typed.d libdparse/experimental_allocator/src/std/experimental/allocator/malloca tor.d libdparse/experimental_allocator/src/std/experimental/allocator/mmap_al locator.d libdparse/experimental_allocator/src/std/experimental/allocator/package .d -ofbin/dfmt Error: Unexpected number of object.TypeInfo_Struct fields; druntime version does not match compiler makefile:20: recipe for target 'ldc' failed make: *** [ldc] Error 1 --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Oct 10 2015