Improve error message when PCH is invalid & no header exists

Geoff Keating geoffk@geoffk.org
Sun Nov 9 21:58:00 GMT 2003


Neil Booth <neil@daikokuya.co.uk> writes:

> Geoffrey Keating wrote:-
> 
> > +	  if (invalid_pch)
> > +	    {
> > +	      cpp_error (pfile, CPP_DL_ERROR, 
> > +	       "One or more PCH files were found, but they were invalid.");
> > +	      if (! cpp_get_options (pfile)->warn_invalid_pch)
> > +		cpp_error (pfile, CPP_DL_ERROR, 
> > +			   "Use -Winvalid-pch for more information.");
> > +	    }
> 
> These do not follow GNU coding style.

What's wrong with them?

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-patches mailing list