Enable additional compile-time code validation

Code with warnings will not pass validation.
Warnings will be treated as errors and will fail the build.
Merge pull request #58 from fernandoacorreia/add-warnings

Consider enabling additional warnings