On 05.08.2024 at 16:59, Derick Rethans wrote:
> On Mon, 5 Aug 2024, Christoph M. Becker wrote:
>
>> In my opinion, there is no *need* to enforce this requirement. Just
>> having documentation should be sufficient. Users with an old
>> compilerr will notice issues (i.e. build failures), and even if they
>> don't care to look up the docs, they will file a ticket, and that can
>> quickly be closed pointing to the relevant documentation.
>
> Instead of having to deal with tickets, wouldn't be be easier if the
> compiler they used works with the features that we are using? That could
> instantly provide a link to the documentation saving all of us time.
Note that I'm not *against* checking C11 support during configure. If
there is a respective feature test readily available for autoconf –
great. Otherwise it might be sufficient to check for the definition and
value of __STDC_VERSION__. However, I don't think it would be a good
idea to test for certain compilers and their versions; that list might
need more maintaince than catering to a couple of bug reports. Before
we go down that route, we may be better off just documenting the
requirement.
Christoph