[ https://issues.apache.org/jira/browse/THRIFT-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-3162: ------------------------------- Assignee: Phongphan Phuttha > make fails for dmd 2.067 > ------------------------ > > Key: THRIFT-3162 > URL: https://issues.apache.org/jira/browse/THRIFT-3162 > Project: Thrift > Issue Type: Bug > Components: D - Library > Affects Versions: 0.9.2 > Environment: OS X 10.10.4 > DMD64 D Compiler v2.067 > Reporter: Phongphan Phuttha > Assignee: Phongphan Phuttha > Attachments: dlang-3162.patch > > > make fails with error messages: > {noformat} > dmd -oflibthriftd.a -w -wi -Isrc -lib src/thrift/base.d > src/thrift/async/base.d src/thrift/async/socket.d > src/thrift/codegen/async_client.d src/thrift/codegen/async_client_pool.d > src/thrift/codegen/base.d src/thrift/codegen/client.d > src/thrift/codegen/client_pool.d src/thrift/codegen/processor.d > src/thrift/protocol/base.d src/thrift/protocol/binary.d > src/thrift/protocol/compact.d src/thrift/protocol/json.d > src/thrift/protocol/processor.d src/thrift/server/base.d > src/thrift/server/simple.d src/thrift/server/taskpool.d > src/thrift/server/threaded.d src/thrift/server/transport/base.d > src/thrift/server/transport/socket.d src/thrift/transport/base.d > src/thrift/transport/buffered.d src/thrift/transport/file.d > src/thrift/transport/framed.d src/thrift/transport/http.d > src/thrift/transport/memory.d src/thrift/transport/piped.d > src/thrift/transport/range.d src/thrift/transport/socket.d > src/thrift/transport/zlib.d src/thrift/util/awaitable.d > src/thrift/util/cancellation.d src/thrift/util/future.d > src/thrift/util/hashset.d src/thrift/internal/algorithm.d > src/thrift/internal/codegen.d src/thrift/internal/ctfe.d > src/thrift/internal/endian.d src/thrift/internal/resource_pool.d > src/thrift/internal/socket.d src/thrift/internal/traits.d > src/thrift/internal/test/protocol.d src/thrift/internal/test/server.d > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, string), > candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/async/socket.d(155): Error: template instance > thrift.base.logFormatted!(g_infoLogSink).logFormatted!("src/thrift/async/socket.d", > 155, string) error instantiating > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, > TTransportException), candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/server/simple.d(112): Error: template instance > thrift.base.logFormatted!(g_errorLogSink).logFormatted!("src/thrift/server/simple.d", > 112, TTransportException) error instantiating > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, TException), > candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/server/simple.d(115): Error: template instance > thrift.base.logFormatted!(g_errorLogSink).logFormatted!("src/thrift/server/simple.d", > 115, TException) error instantiating > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, > TTransportException), candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/server/simple.d(143): Error: template instance > thrift.base.logFormatted!(g_errorLogSink).logFormatted!("src/thrift/server/simple.d", > 143, TTransportException) error instantiating > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, Exception), > candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/server/simple.d(145): Error: template instance > thrift.base.logFormatted!(g_errorLogSink).logFormatted!("src/thrift/server/simple.d", > 145, Exception) error instantiating > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, > TTransportException), candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/server/simple.d(156): Error: template instance > thrift.base.logFormatted!(g_errorLogSink).logFormatted!("src/thrift/server/simple.d", > 156, TTransportException) error instantiating > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, > TTransportException), candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/server/simple.d(161): Error: template instance > thrift.base.logFormatted!(g_errorLogSink).logFormatted!("src/thrift/server/simple.d", > 161, TTransportException) error instantiating > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, > TTransportException), candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/server/simple.d(166): Error: template instance > thrift.base.logFormatted!(g_errorLogSink).logFormatted!("src/thrift/server/simple.d", > 166, TTransportException) error instantiating > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, > TServerTransportException), candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/server/simple.d(173): Error: template instance > thrift.base.logFormatted!(g_errorLogSink).logFormatted!("src/thrift/server/simple.d", > 173, TServerTransportException) error instantiating > src/thrift/base.d(112): Error: template std.format.formattedWrite cannot > deduce function from argument types !()(Appender!(char[]), void, > TTransportException), candidates are: > /usr/local/Cellar/dmd/2.067.1/include/d2/std/format.d(420): > std.format.formattedWrite(Writer, Char, A...)(Writer w, in Char[] fmt, A args) > src/thrift/server/taskpool.d(146): Error: template instance > thrift.base.logFormatted!(g_errorLogSink).logFormatted!("src/thrift/server/taskpool.d", > 146, TTransportException) error instantiating > make[4]: *** [libthriftd.a] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > {noformat} > Tested with DMD64 2.067 and 2.067.1 -- This message was sent by Atlassian JIRA (v6.3.4#6332)