Re: Patch 8.0.1723

2018-04-19 Fir de Conversatie John Marriott
On 19-Apr.-2018 06:58, Bram Moolenaar wrote: Yeah, at least the configure check works. But clearly this change will mean you can no longer compile Vim. So let's not allow for flexible array members. It's a nice feature, pity we can't use it. I'll make a patch to revert this, please check

Re: Patch 8.0.1723

2018-04-18 Fir de Conversatie Bram Moolenaar
John Marriott wrote: > On 18-Apr.-2018 07:24, Bram Moolenaar wrote: > > John Marriott wrote: > > > >> On 17-Apr.-2018 00:38, Mike Williams wrote: > >>> Hi > >>> > >>> On 16/04/2018 14:16, Bram Moolenaar wrote: > I wrote: > > > Patch 8.0.1723 > > Problem:    Using one item

Re: Patch 8.0.1723

2018-04-18 Fir de Conversatie John Marriott
On 18-Apr.-2018 07:24, Bram Moolenaar wrote: John Marriott wrote: On 17-Apr.-2018 00:38, Mike Williams wrote: Hi On 16/04/2018 14:16, Bram Moolenaar wrote: I wrote: Patch 8.0.1723 Problem:    Using one item array size declaration is misleading. Solution:   Instead of using "[1]" and

Re: Patch 8.0.1723

2018-04-17 Fir de Conversatie Bram Moolenaar
John Marriott wrote: > On 17-Apr.-2018 00:38, Mike Williams wrote: > > Hi > > > > On 16/04/2018 14:16, Bram Moolenaar wrote: > >> > >> I wrote: > >> > >>> Patch 8.0.1723 > >>> Problem:    Using one item array size declaration is misleading. > >>> Solution:   Instead of using "[1]" and actually

Re: Patch 8.0.1723

2018-04-17 Fir de Conversatie Cesar Romani
On 16/04/2018 08:16 a.m., Bram Moolenaar wrote: > > [...] > If you notice a problem because of this patch, please speak up! > Also if it's just a compiler warning. We want to know if this C99 > feature works for everybody. I'm using mingw-w64 on Windows 7, gcc 7.2.0, and I don't get any

Re: Patch 8.0.1723

2018-04-17 Fir de Conversatie John Marriott
On 17-Apr.-2018 00:38, Mike Williams wrote: Hi On 16/04/2018 14:16, Bram Moolenaar wrote: I wrote: Patch 8.0.1723 Problem:    Using one item array size declaration is misleading. Solution:   Instead of using "[1]" and actually using a larger array, use "[]".  This is to

Re: Patch 8.0.1723

2018-04-16 Fir de Conversatie Mike Williams
Hi On 16/04/2018 14:16, Bram Moolenaar wrote: I wrote: Patch 8.0.1723 Problem:Using one item array size declaration is misleading. Solution: Instead of using "[1]" and actually using a larger array, use "[]". This is to verify that this C99 feature works for all

Re: Patch 8.0.1723

2018-04-16 Fir de Conversatie Tony Mechelynck
FWIW I don't see any compiler messages (neither in Huge nor in Tiny) but I'm on Linux and it's MSVC support which is problematic. Let's see if we get errors or warnings on Windows. Best regards, Tony. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply

Re: Patch 8.0.1723

2018-04-16 Fir de Conversatie Bram Moolenaar
I wrote: > Patch 8.0.1723 > Problem:Using one item array size declaration is misleading. > Solution: Instead of using "[1]" and actually using a larger array, use > "[]". This is to verify that this C99 feature works for all > compilers. > Files: