bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GL_LINK_WARNING


From: Jim Meyering
Subject: Re: GL_LINK_WARNING
Date: Wed, 16 Dec 2009 07:48:17 +0100

Eric Blake wrote:
> 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?
...
> In other words, maybe I should go with option:
> 4. Redefine GL_LINK_WARNING to instead be a way to apply __attribute__
> ((__warning__)) as a function attribute when gcc supports it (and probably
> rename the module/macro from link-warning/GL_LINK_WARNING to usage-
> warning/GL_USAGE_WARNING, since it would now be a compiler rather than a 
> linker
> warning), and adjust all GNULIB_POSIXCHECK call points to use the new 
> semantics.

Good idea!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]