This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Trailing whitespace removal patch for manual


"Joseph S. Myers" <jsm28@cam.ac.uk> writes:

> On Sun, 24 Feb 2002, Phil Edwards wrote:
>
>> On Sat, Feb 23, 2002 at 02:38:38PM +0100, Florian Weimer wrote:
>> > Only if lack of whitespace it is enforced mechanically on commit (or
>> > during make).  Otherwise, trailing whitespace will be introduced
>> > pretty soon again.
>
> That argument would apply just as well to any kind of bug or coding style
> violation.  Putting enforcement on commit is likely to cause problems.  

The problem seems to be that all pending patches have to reworked when
someone removes trailing whitespace.  CVS merging is not very tolerant
in this regard.

> Why put this (a rule that modifies non-generated source files) in the
> Makefile?  A script in contrib would be more appropriate.

Yes, you are right.

By the way, what about tab characters?


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