set warnings as error for gcc clang
Merge pull request #35 from mbehr1/warnings_as_errors

set warnings as error for gcc and clang