Fix geterror=true compilation