errors are turned into warnings