some warnings treated as errors