warning elimination in d translator