fix misleading deprecation messages
Merge pull request #4173 from WalterBright/errordep

fix misleading deprecation messages