Turning on warnings as errors for production code
Merge pull request #1664 from christav/warnings-as-errors

Turning on warnings as errors for production code