Re: [PATCH v4] telemetry: remove non-portable array initialization syntax

2023-04-05 Thread Tyler Retzlaff
On Wed, Apr 05, 2023 at 09:56:24AM +0100, Bruce Richardson wrote: > On Tue, Apr 04, 2023 at 11:09:16AM -0700, Tyler Retzlaff wrote: > > Use of ranges in designated initialization are a non-standard gcc > > extension. > > > > Only initialize '_' and '/' elements of the array and filter tests > > of

Re: [PATCH v4] telemetry: remove non-portable array initialization syntax

2023-04-05 Thread Bruce Richardson
On Tue, Apr 04, 2023 at 11:09:16AM -0700, Tyler Retzlaff wrote: > Use of ranges in designated initialization are a non-standard gcc > extension. > > Only initialize '_' and '/' elements of the array and filter tests > of characters through name with standard C isalnum before checking > the array.

[PATCH v4] telemetry: remove non-portable array initialization syntax

2023-04-04 Thread Tyler Retzlaff
Use of ranges in designated initialization are a non-standard gcc extension. Only initialize '_' and '/' elements of the array and filter tests of characters through name with standard C isalnum before checking the array. Suggested-by: Konstantin Ananyev Suggested-by: Bruce Richardson Signed-of