change warning to pragma message