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]
Other format: [Raw text]

RE: Question for removing trailing whitespaces (not vertical tab) from source


On 13 March 2007 14:02, Andrew Haley wrote:

> Kai Tietz writes:
> 
>  > I want to remove some trailing whitespaces from gcc source as coding
>  style > demands. Also I wrote, while doing a small tool for that, a
>  feature to > replace horiz. tabs by spaces. But the question is by which
>  width should > be used ?
> 
> 8.
> 
> Andrew.


  Can you explain that value?  It's just that 1) I see vast acres and acres of
code where the tabstop size is two spaces 2) the coding standard doesn't seem
to /demand/ a specific tab size and 3) if we use 8-space TABs with the kind of
depths of nesting the gcc code often contains we're going to exceed the
80-column line length limit just on the leading indentation alone pretty
often....


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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