Correct warning level in projects
Fix errors introduced by a too low warning level