The warning will come into force on Thursday