Re: [PATCH v3 03/13] winansi: use FLEX_ARRAY to avoid compiler warning
- From
Alban Gruin <alban.gruin@gmail.com>
- Date
- Oct 7, 2019, 19:16 UTC
- Message-ID
- <d1f53812-ebaf-4290-f867-6d34735d314d@gmail.com>
- In-Reply-To
- <e632a4eef46720d43fd014644ff24d3dac61ebe9.1570201763.git.gitgitgadget@gmail.com>
Hi Johannes,
Le 04/10/2019 à 17:09, Johannes Schindelin via GitGitGadget a écrit :
Show 8 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de> > > MSVC would complain thusly: > > C4200: nonstandard extension used: zero-sized array in struct/union > > Let's just use the `FLEX_ARRAY` constant that we introduced for exactly > this type of scenario.
Perhaps this is a good candidate for a semantic patch?
Cheers, Alban