closed #5541: add more warning for unsupported functions.