switch on compiler warnings