[ 
https://issues.apache.org/jira/browse/THRIFT-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092809#comment-15092809
 ] 

Jens Geyer commented on THRIFT-3541:
------------------------------------

Hi  [~ljdelight],

feel free to [provide a patch or pull 
request|http://thrift.apache.org/docs/HowToContribute] if you have one.

Thanks,
JensG

> Make tutorial fails to compile for dmd v2.069.2
> -----------------------------------------------
>
>                 Key: THRIFT-3541
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3541
>             Project: Thrift
>          Issue Type: Bug
>          Components: D - Library
>    Affects Versions: 0.9.3
>         Environment: Using dmd v2.069.2 and thrift 0.9.3 on Ubuntu 15.04.
>            Reporter: Lucas Burson
>
> 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:
> {code}
> [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) ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to