added default value for TreatWarningsAsErrors
Merge branch 'release-1.1'