This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Feeding back fixincludes changes


> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]