ignore deprecated warnings on tiGetStr