Re: [PATCH] Teach 'git-apply --whitespace=strip' to remove empty lines at the end of file
- From
- Josef Weidendorfer <josef.weidendorfer@gmx.de>
- Date
- May 21, 2007, 08:59 UTC
- Message-ID
- <200705211059.46678.Josef.Weidendorfer@gmx.de>
- In-Reply-To
- <e5bfff550705201344r274ac9f4g9ca5e1fefe7c12cd@mail.gmail.com>
On Sunday 20 May 2007, Marco Costalba wrote:
Show 17 quoted lines
> On 5/20/07, Frank Lichtenheld <frank@lichtenheld.de> wrote: > > > > > > > >But we have kept our sources -Wdeclaration-after-statement > > > >clean so far > > > > > > ?????? > > > > > > Wie bitte? > > > > man gcc: > > > > -Wdeclaration-after-statement (C only) > > Warn when a declaration is found after a statement in a block. > > > > Just for my personal knowledge, what's the meaning of this apparently > non-sense kind of warning?
man gcc:
-Wdeclaration-after-statement (C only)
Warn when a declaration is found after a statement in a block. This con-
struct, known from C++, was introduced with ISO C99 and is by default allowed
in GCC. It is not supported by ISO C90 and was not supported by GCC versions
before GCC 3.0.There are some C compilers out there which break out with an error when using declaration after a statement; however, we want git code to compile even using these compilers.
Josef
Show 8 quoted lines
> > Thanks > Marco > - > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >