[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GL_LINK_WARNING
From: |
Simon Josefsson |
Subject: |
Re: GL_LINK_WARNING |
Date: |
Tue, 15 Dec 2009 22:02:47 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Eric Blake <address@hidden> writes:
> Eric Blake <ebb9 <at> byu.net> writes:
>
>>
>> So, what should I do? Options:
>> 1. Check in the patches below as-is
>> 2. Ditch this series, and instead go and change all uses of
>> GNULIB_POSIXCHECK
>> that used
>> #define func(args) (GL_LINK_WARNING("..."),func(args))
>> to instead use
>> #define func (GL_LINK_WARNING("..."),func)
>> 3. Like 2, but also check in the new va-args module (others might have a use
>> for it, even though it would be unused in gnulib at this point)
>
> Another thing to consider. Why are we even bothering with a link warning,
> which only works for ELF, when gcc provides a more generic solution that will
> also work for Cygwin and other non-ELF platforms?
Because gcc is not the only supported compiler?
However, looking at link-warning.h, it seems it only works when the
system uses GNU LD _and_ ELF. So I'm not sure link-warning.h provides
anything substantial that a Gcc-specific solution wouldn't. Are there
popular environments that use GNU LD but not Gcc? Adding support for
cygwin would be useful though.
/Simon
- fcntl for mingw, Eric Blake, 2009/12/10
- Re: fcntl for mingw, Bruno Haible, 2009/12/11
- Re: GL_LINK_WARNING (was: fcntl for mingw), Bruno Haible, 2009/12/15
- Re: GL_LINK_WARNING, Eric Blake, 2009/12/15
- Re: GL_LINK_WARNING (was: fcntl for mingw), Eric Blake, 2009/12/16
- Re: GL_LINK_WARNING, Eric Blake, 2009/12/16
- Re: GL_LINK_WARNING, Bruno Haible, 2009/12/16
- Re: GL_LINK_WARNING, Eric Blake, 2009/12/16
- Re: GL_LINK_WARNING, Bruno Haible, 2009/12/19
- Re: GL_LINK_WARNING, Jim Meyering, 2009/12/16