compiler errors on pi