compile errors and warnings