implemented treat warning as errors commandline option (warnaserror).