|
From: | Paul Eggert |
Subject: | Re: Requiring C11 breaks build with GCC 4.6.2 on Windows XP |
Date: | Thu, 15 Jun 2017 10:35:39 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 06/15/2017 05:45 AM, Philipp Stephani wrote:
I'm not opposed to removing it if you think it causes more problems than it solves.
Yes, in practice __STDC_VERSION__ is not reliable in general. Compilers define it even when they are not fully conforming, and they don't define it even when they support all the standard features one happens to need. See, for example, the thread containing this message:
http://lists.gnu.org/archive/html/autoconf-patches/2012-10/msg00006.html__STDC_VERSION__ can be used in some cases, but I don't think this is one of the cases. So I removed the check.
[Prev in Thread] | Current Thread | [Next in Thread] |