GitHub user phongphan opened a pull request: https://github.com/apache/thrift/pull/636
THRIFT-3253 Hi These changesets would fixed the deprecation warnings when compiling with latest D compiler. I have tested with 2.067.1. I have to change the `thriftToHashImpl` a bit in [379bac8] since I cannot get the `FieldNames` to work when using TMethodMeta. You can merge this pull request into a Git repository by running: $ git pull https://github.com/phongphan/thrift THRIFT-3253 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/636.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #636 ---- commit f5e364523169daaef7b78f5edd21a2f2323e246c Author: Phongphan Phuttha <phongp...@acm.org> Date: 2015-10-08T10:14:24Z THRIFT-3253 Replace deprecated Duration.fracSec with Duration.total commit 5693dedc1389c580f0869f1b2007809afc5cc6a5 Author: Phongphan Phuttha <phongp...@acm.org> Date: 2015-10-08T11:25:48Z THRIFT-3253 Replace deprecated object.clear with object.destroy. commit 379bac8229b156df184bf77656f2afc80e298fde Author: Phongphan Phuttha <phongp...@acm.org> Date: 2015-10-08T12:46:49Z THRIFT-3253 Use tupleof for retrieving all fields in the class and its base class instead of FieldNames template commit 78f494f35e3a8bad7941e5947025d932352b5a68 Author: Phongphan Phuttha <phongp...@acm.org> Date: 2015-10-08T12:55:18Z THRIFT-3253 Import missing hashset module commit bbb7b44ff7a1743a98d02c4cc143e2e4ffbe3a0b Author: Phongphan Phuttha <phongp...@acm.org> Date: 2015-10-08T13:00:31Z THRIFT-3253 Add missing testBool method commit b59f43267b854be340d45d91b0be78d048356d72 Author: Phongphan Phuttha <phongp...@acm.org> Date: 2015-10-08T13:14:31Z THRIFT-3253 Replace deprecated object.clear with object.destroy commit e98f4a2f328ecc9e1abb681357afe728c9866e2c Author: Phongphan Phuttha <phongp...@acm.org> Date: 2015-10-08T13:15:10Z THRIFT-3253 Explicitly override toHash method to suppress the implicit overriding deprecation warning ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---