
Oct. 28, 2022
8:53 p.m.
On 2022-10-28 07:43, Иванов Игорь via tz wrote:
Apparently it breaks #if preprocessor logic in older compilers somewhere downstream - what was #if 1 becomes #if true, which GCC treats as "false" and falls into #else branch.
Thanks for reporting the problem. I think the problem is in the HAS_INCLUDE macro, which now that I look at it more closely doesn't conform to C23 either. Although I doubt whether the problem is the true/false stuff I'll move those macros earlier just in case; that's more robust anyway. Please try the attached patch, which I installed into the development repository on GitHub.