This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: New ARI warning Sat Mar 12 01:53:29 UTC 2011


> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Date: Mon, 14 Mar 2011 13:34:16 +0100
> 
> > "A function declaration should not have its name in column zero.  A
> > function definition should have its name in column zero."
> 
>   Thank you for finding this out...
> This is clearer than what I try to explain to Eli before.
> 
>   Eli, do you agree with this statement 
> in gdbint.textinfo or should it be modified?

That sentence says what one should _not_ do.  The issue in this thread
is what to do instead.

>   Would you like to enhance it to specify what to do if
> the whole function declaration
> TYPE NAME (PARAMS);
> doesn't fit into a 80 columns line?
> 
>  I am willing to adapt the ARI rule to such recommendations.

I suggested how to format that case.  If that suggestion is accepted,
I will change gdbint.texinfo accordingly.


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