|
From: | Paul Eggert |
Subject: | Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h |
Date: | Mon, 4 Jan 2021 17:54:33 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 |
On 1/4/21 5:06 PM, Bruno Haible wrote:
I see the problem now: glibc's <sys/cdefs.h> and Gnulib's <cdefs.h> have the same include guard!
I want the files to be identical (eventually), which is why they have the same include guard. Is there some way to arrange for them to be identical?
It could be that this patch leads to "redefined macro" warnings. But these would be better than not having macros included that the system headers (e.g. <stdio.h> in Paul Murphy's case) rely upon.
I expect we're still in trouble if glibc's cdefs.h is ever "newer" than Gnulib. I'll see if I can pry some time to look into this.
[Prev in Thread] | Current Thread | [Next in Thread] |