Re: New ARI warning Sat Mar 12 01:53:29 UTC 2011

Eli Zaretskii
2011-03-14T13:06:14Z

> From: Pedro Alves <pedro@codesourcery.com>
> Date: Mon, 14 Mar 2011 12:51:31 +0000
> Cc: gdb-patches@sourceware.org,
> pierre.muller@ics-cnrs.unistra.fr
>
> > extern whatever_type foo (type1_t,
> > type2_t, const char **, foobar_t);
> >
> > not like Pierre originally suggested.
> >
> > That is, let the left paren and at least one argument be on the same
> > line as the function name.
>
> I'm fine with your suggestion, and in fact it's my preference
> as well. However, there _are_ cases where you just can't do that,
> because the return type + function name + parameter end up being
> too long for a single line.

What's wrong with leaving a single long line in such cases? They are
supposed to be very rare (if typedefs are used for complex function
arguments).