Re: [PATCH] range-diff: fix some 'hdr-check' and sparse warnings
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 15, 2019, 14:47 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1907151647110.47@tvgsbejvaqbjf.bet>
- In-Reply-To
- <CAPUEspgD8E02FcNvBx96neGEejdqMDWoH8NgpsHyGPo_KM09FA@mail.gmail.com>
Hi,
On Sat, 13 Jul 2019, Carlo Arenas wrote:
Show 9 quoted lines
> On Sat, Jul 13, 2019 at 2:29 PM Junio C Hamano <gitster@pobox.com> wrote:
> >
> > I wish if we could say
> >
> > struct patch patch = {};
>
> that is actually a GNU extension that is supported by gcc and clang (at least)
> and that sparse also recognizes as valid; it is also valid C++ so it might be
> even supported by MSVC.It seems to be supported by MSVC, at least as of VS2019.
Ciao, Dscho