Thrift 0.9.0 D tutorial broken by dmd 2.061

Ivan Ribeiro ivan.ribeiro at gmail.com
Mon Jan 7 04:14:16 PST 2013


Hi,

   Since I have upgraded my dmd from version 2.060 to 2.061 the 
cliend.d and server.d is not compiling anymore 
(thrift-0.9.0/tutorial/d).

   Someone with same problem?

   Best regards,

     Ivan

[irocha at irrlab d]$ pwd
/data/D/thrift-0.9.0/tutorial/d
[irocha at irrlab d]$ make
dmd -I../../lib/d/src -L-L../../lib/d -L-lthriftd server.d 
../gen-d/share/SharedService.d ../gen-d/share/shared_types.d 
../gen-d/tutorial/tutorial_types.d ../gen-d/tutorial/Calculator.d
../../lib/d/src/thrift/codegen/processor.d(155): Error: module 
thrift.codegen.processor 
thrift.internal.codegen.FilterMethodNames(T, MemberNames...) is 
private
../../lib/d/src/thrift/codegen/processor.d(317): Error: CTFE 
failed because of previous errors in __lambda1161
../../lib/d/src/thrift/codegen/processor.d(317): Error: argument 
to mixin must be a string, not ((*delegate @system string()
...
...
server.d(101): Error: template instance 
thrift.codegen.processor.TServiceProcessor!(Calculator) error 
instantiating
server.d(101): Error: TServiceProcessor!(Calculator) is used as a 
type
server.d(105): Error: constructor 
thrift.server.simple.TSimpleServer.this (TProcessor processor, 
TServerTransport serverTransport, TTransportFactory 
transportFactory, TProtocolFactory protocolFactory) is not 
callable using argument types 
(_error_,TServerSocket,TWrapperTransportFactory,TBinaryProtocolFactory)
server.d(105): Error: expected 6 function arguments, not 4


More information about the Digitalmars-d mailing list