[PATCH v2] configure.ac: rework gnu99 ext check to allow clang

2021-08-30 Thread Adrian Ratiu via Elfutils-devel
It is true that Clang does not support all gnu99 extensions [1], but not all of them are used in the codebase and over time there have been code cleanup efforts to improve Clang support. For example after commit 779c57ea ("readelf: Pull advance_pc() in file scope") there are no more nested functio

Re: [PATCH] configure.ac: drop unnecessary gnu99 extension checks

2021-08-26 Thread Adrian Ratiu via Elfutils-devel
Hi Mark, On Mon, 23 Aug 2021, Mark Wielaard wrote: Hi Adrian, On Tue, Aug 10, 2021 at 03:56:51PM +0300, Adrian Ratiu via Elfutils-devel wrote: So in the interest of enabling Clang builds we remove the only remaining blocker: the configure checks for nested functions and variable length

[PATCH] configure.ac: drop unnecessary gnu99 extension checks

2021-08-10 Thread Adrian Ratiu via Elfutils-devel
It is true that Clang does not support all gnu99 extensions [1], but not all of them are used in the codebase and over time there have been code cleanup efforts to improve Clang support. For example after commit 779c57ea ("readelf: Pull advance_pc() in file scope") there are no more nested functio