[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] stdlib: support non-GCC __attribute__
From: |
Bruno Haible |
Subject: |
Re: [PATCH] stdlib: support non-GCC __attribute__ |
Date: |
Sun, 13 Feb 2011 22:49:02 +0100 |
User-agent: |
KMail/1.9.9 |
Hi Paul,
> While that might be useful, there's a downside to it too.
> With the current approach, if a program includes two gnulib-supplied
> headers (stdin.h and stdlib.h, say), and if these headers due to
> some versioning screwup define _GL_ATTRIBUTE_NORETURN differently,
> a C compiler is required to diagnose the screwup. With the proposed
> approach, the earlier header (whatever it happened to be) would
> silently win.
Good point. I withdraw this patch, and adjust the other patch to remove
the #ifndef lines.
Bruno
--
In memoriam Alexander Samoylovich
<http://en.wikipedia.org/wiki/Alexander_Samoylovich>
- [PATCH] stdlib: support non-GCC __attribute__, Paul Eggert, 2011/02/12
- Re: [PATCH] stdlib: support non-GCC __attribute__, Bruno Haible, 2011/02/13
- Re: [PATCH] stdlib: support non-GCC __attribute__, Paul Eggert, 2011/02/13
- Re: [PATCH] stdlib: support non-GCC __attribute__, Bruno Haible, 2011/02/13
- Re: [PATCH] stdlib: support non-GCC __attribute__, Jim Meyering, 2011/02/14
- Re: [PATCH] stdlib: support non-GCC __attribute__, Paul Eggert, 2011/02/14
- Re: [PATCH] stdlib: support non-GCC __attribute__, Bruno Haible, 2011/02/14
- Re: installable stdlib.h, Bruno Haible, 2011/02/13
- Re: installable stdlib.h, Paul Eggert, 2011/02/13