[
https://issues.apache.org/jira/browse/THRIFT-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James E. King, III updated THRIFT-4303:
---------------------------------------
Environment: docker:ubuntu-xenial (was: docker:ubuntu1604)
> D 2.075 deprecation warnings
> ----------------------------
>
> Key: THRIFT-4303
> URL: https://issues.apache.org/jira/browse/THRIFT-4303
> Project: Thrift
> Issue Type: Bug
> Components: D - Library
> Affects Versions: 0.10.0
> Environment: docker:ubuntu-xenial
> Reporter: James E. King, III
> Priority: Minor
>
> In the ubuntu 16.04 image dmd is version 2.075 and the following warnings are
> being presented when building "make check":
> {noformat}
> ../../lib/d/src/thrift/transport/socket.d(83): Deprecation: Implicit string
> concatenation is deprecated, use "DMD bug? \u2013 Why would contracts work
> for interfaces, but not " ~ "for abstract methods? " instead
> ../../lib/d/src/thrift/transport/socket.d(84): Deprecation: Implicit string
> concatenation is deprecated, use "for abstract methods? " ~ "(Error: function
> [\u2026] in and out contracts require function body" instead
> src/thrift/protocol/json.d(29): Deprecation: function std.utf.toUTF8 is
> deprecated - To be removed November 2017. Please use std.utf.encode instead.
> src/thrift/transport/http.d(334): Deprecation: Implicit string concatenation
> is deprecated, use "Accept: application/x-thrift\x0d\x0a" ~ "User-Agent:
> Thrift/" instead
> {noformat}
> I cleaned all but the UTF8 one up in this PR:
> https://github.com/apache/thrift/pull/1340/files
> There were a couple others in "make check" inside lib/d so best check for
> anything else as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)