fixed compiler warnings not being enabled in clang
Merge pull request #499 from worktycho/master

fixed compiler warnings not being enabled in clang