Turn on compiler warnings
Fix compiler warnings