issue #2284: not treat using deprecated functions as error