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.

Reply via email to