Implememt -fdefer-type-errors (Trac #5624)