Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3541

Make tutorial fails to compile for dmd v2.069.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.3
    • None
    • D - Library
    • None
    • Using dmd v2.069.2 and thrift 0.9.3 on Ubuntu 15.04.

    Description

      The D compiler dmd v2.069.2 does not compile the Apache Thrift v0.9.3 tutorial and fails in lib/d/src/thrift/internal/codegen.d:361.

      Snippet of log:

      [1m../../lib/d/src/thrift/codegen/processor.d-mixin-85(107): [1;31mError: [mtemplate instance thrift.codegen.processor.TArgsStruct!(Calculator, "ping") error instantiating
      [1m../../lib/d/src/thrift/codegen/processor.d-mixin-85(100): [1;31m       [minstantiated from here: process_ping!(TProtocol, TProtocol)
      [1mserver.d(101): [1;31m       [minstantiated from here: TServiceProcessor!(Calculator)
      [1m../../lib/d/src/thrift/codegen/processor.d-mixin-85(130): [1;31mError: [mtemplate instance thrift.codegen.processor.TResultStruct!(Calculator, "ping") error instantiating
      [1m../../lib/d/src/thrift/codegen/processor.d-mixin-85(100): [1;31m       [minstantiated from here: process_ping!(TProtocol, TProtocol)
      [1mserver.d(101): [1;31m       [minstantiated from here: TServiceProcessor!(Calculator)
      [1m../../lib/d/src/thrift/codegen/base.d(472): [1;31mError: [minvalid foreach aggregate StaticFilter!(All, "key", "thrift", "This", "isSetFlags", "fieldMeta", "set", "unset", "isSet", "toString", "opEquals", "toHash", "thriftToStringImpl", "thriftOpEqualsImpl", "thriftToHashImpl", "read", "write")
      [1m../../lib/d/src/thrift/internal/codegen.d(272): [1;31mError: [mtemplate instance thrift.internal.codegen.Target!(TArgsStruct!(SharedService, "getStruct"), "toHash") error instantiating
      [1m../../lib/d/src/thrift/internal/codegen.d(361): [1;31m       [minstantiated from here: Template!"toHash"
      [1m../../lib/d/src/thrift/internal/codegen.d(380): [1;31m       [minstantiated from here: Instantiate!(PApply, "toHash")
      [1m../../lib/d/src/thrift/internal/codegen.d(361): [1;31m       [minstantiated from here: Template!"toHash"
      [1m../../lib/d/src/thrift/internal/codegen.d(381): [1;31m       [m... (17 instantiations, -v to show) ...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ljdelight Lucas Burson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: