This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Feeding back fixincludes changes
- To: rth at redhat dot com (Richard Henderson)
- Subject: Re: Feeding back fixincludes changes
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Wed, 29 Nov 2000 23:03:13 +0000 (GMT)
- Cc: bkorb at cruzio dot com (Bruce Korb), jsm28 at cam dot ac dot uk (Joseph S. Myers), gcc at gcc dot gnu dot org
> I have another amusing idea -- preprocess the header before and
> after the change, and if there is no non-whitespace change, then
> the header must have been safe beforehand.
No, that isn't safe.
Whitespace can change the meaning.
Moreover, the header might contain sections that are enabled only with
special predefined macros, and these might need fixing.