enable warnings by default

enable warnings by default