What tells the coding style about whitespaces at end of lines or in *empty* lines ?

Duncan Sands baldrick@free.fr
Thu Mar 1 13:53:00 GMT 2007


> > I noticed while editing gcc files, that there are a lot of *useless* 
> > whitespaces at the end of lines or within empty lines, which are getting 
> > automatic removed by some *smarter* editors as I am common to use *sigh*. 
> > This leads to huge diff files and the real change is getting veiled. I 
> > think it would be nice to eliminate these *usesless* whitespaces.
> 
> Note that the coding standard for GNAT forbids trailing white spaces.
> It also forbids embedded horizontal tabs for similar reasons (avoiding
> junk difs).

And the compiler enforces this, which is an important point.

Duncan.



More information about the Gcc mailing list