Re: Arrays of variable length

2017-03-09 Thread Måns Rullgård
Tomas Winkler writes: > On Thu, Mar 9, 2017 at 4:26 PM, Måns Rullgård wrote: >> Tomas Winkler writes: >> >>> On Thu, Mar 9, 2017 at 4:16 PM, Måns Rullgård wrote: Tomas Winkler writes: > On Thu, Mar 9, 2017 at 3:02 PM, Måns Rullgård wrote: >> Tomas Winkler writes: >> >>

Re: Arrays of variable length

2017-03-09 Thread Måns Rullgård
Tomas Winkler writes: > On Thu, Mar 9, 2017 at 4:16 PM, Måns Rullgård wrote: >> Tomas Winkler writes: >> >>> On Thu, Mar 9, 2017 at 3:02 PM, Måns Rullgård wrote: Tomas Winkler writes: > On Mon, Mar 6, 2017 at 2:31 AM, Måns Rullgård wrote: >> Henrique de Moraes Holschuh wri

Re: Arrays of variable length

2017-03-09 Thread Tomas Winkler
On Thu, Mar 9, 2017 at 4:26 PM, Måns Rullgård wrote: > Tomas Winkler writes: > >> On Thu, Mar 9, 2017 at 4:16 PM, Måns Rullgård wrote: >>> Tomas Winkler writes: >>> On Thu, Mar 9, 2017 at 3:02 PM, Måns Rullgård wrote: > Tomas Winkler writes: > >> On Mon, Mar 6, 2017 at 2:31 A

Re: Arrays of variable length

2017-03-09 Thread Tomas Winkler
On Thu, Mar 9, 2017 at 4:16 PM, Måns Rullgård wrote: > Tomas Winkler writes: > >> On Thu, Mar 9, 2017 at 3:02 PM, Måns Rullgård wrote: >>> Tomas Winkler writes: >>> On Mon, Mar 6, 2017 at 2:31 AM, Måns Rullgård wrote: > Henrique de Moraes Holschuh writes: > >> On Sun, 05 Mar

Re: Arrays of variable length

2017-03-09 Thread Måns Rullgård
Tomas Winkler writes: > On Thu, Mar 9, 2017 at 3:02 PM, Måns Rullgård wrote: >> Tomas Winkler writes: >> >>> On Mon, Mar 6, 2017 at 2:31 AM, Måns Rullgård wrote: Henrique de Moraes Holschuh writes: > On Sun, 05 Mar 2017, Måns Rullgård wrote: >> Tomas Winkler writes: >>

Re: Arrays of variable length

2017-03-09 Thread Tomas Winkler
On Thu, Mar 9, 2017 at 3:02 PM, Måns Rullgård wrote: > Tomas Winkler writes: > >> On Mon, Mar 6, 2017 at 2:31 AM, Måns Rullgård wrote: >>> Henrique de Moraes Holschuh writes: >>> On Sun, 05 Mar 2017, Måns Rullgård wrote: > Tomas Winkler writes: > > Sparse complains for arrays decl

Re: Arrays of variable length

2017-03-09 Thread Måns Rullgård
Tomas Winkler writes: > On Mon, Mar 6, 2017 at 2:31 AM, Måns Rullgård wrote: >> Henrique de Moraes Holschuh writes: >> >>> On Sun, 05 Mar 2017, Måns Rullgård wrote: Tomas Winkler writes: > Sparse complains for arrays declared with variable length > > 'warning: Variable leng

Re: Arrays of variable length

2017-03-09 Thread Tomas Winkler
On Mon, Mar 6, 2017 at 2:31 AM, Måns Rullgård wrote: > Henrique de Moraes Holschuh writes: > >> On Sun, 05 Mar 2017, Måns Rullgård wrote: >>> Tomas Winkler writes: >>> > Sparse complains for arrays declared with variable length >>> > >>> > 'warning: Variable length array is used' >>> > >>> > Pri

Re: Arrays of variable length

2017-03-05 Thread Måns Rullgård
Henrique de Moraes Holschuh writes: > On Sun, 05 Mar 2017, Måns Rullgård wrote: >> Tomas Winkler writes: >> > Sparse complains for arrays declared with variable length >> > >> > 'warning: Variable length array is used' >> > >> > Prior to c99 this was not allowed but lgcc (c99) doesn't have probl

Re: Arrays of variable length

2017-03-05 Thread Richard Weinberger
On Sun, Mar 5, 2017 at 10:12 PM, Henrique de Moraes Holschuh wrote: > On Sun, 05 Mar 2017, Måns Rullgård wrote: >> Tomas Winkler writes: >> > Sparse complains for arrays declared with variable length >> > >> > 'warning: Variable length array is used' >> > >> > Prior to c99 this was not allowed bu

Re: Arrays of variable length

2017-03-05 Thread Henrique de Moraes Holschuh
On Sun, 05 Mar 2017, Måns Rullgård wrote: > Tomas Winkler writes: > > Sparse complains for arrays declared with variable length > > > > 'warning: Variable length array is used' > > > > Prior to c99 this was not allowed but lgcc (c99) doesn't have problem > > with that https://gcc.gnu.org/onlinedo

Re: Arrays of variable length

2017-03-05 Thread Måns Rullgård
Tomas Winkler writes: > Sparse complains for arrays declared with variable length > > 'warning: Variable length array is used' > > Prior to c99 this was not allowed but lgcc (c99) doesn't have problem > with that https://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html. > And also Linux kernel co

Re: Arrays of variable length

2017-03-05 Thread Al Viro
On Sun, Mar 05, 2017 at 11:44:33AM +0200, Tomas Winkler wrote: > Sparse complains for arrays declared with variable length > > 'warning: Variable length array is used' > > Prior to c99 this was not allowed but lgcc (c99) doesn't have problem > with that https://gcc.gnu.org/onlinedocs/gcc/Variabl