bug-gnulib
[Top][All Lists]
Advanced

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

Re: avoiding 'static inline'


From: Ben Pfaff
Subject: Re: avoiding 'static inline'
Date: Sun, 19 Aug 2012 10:40:56 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Paul Eggert <address@hidden> writes:

> On 08/18/2012 10:04 PM, Ben Pfaff wrote:
>> I see that some of your patches remove "inline" from some "static
>> inline" functions in header files, but I don't see anything
>> added, such as __attribute__((unused)), that would suppress an
>> "unused static function" warning.  (Perhaps I just missed it.)
>
> Thanks for bringing that up.  I didn't observe those warnings
> even when configuring with --enable-gcc-warnings.  I just now
> looked into matter and it turns out that the warnings are
> suppressed by the "#pragma GCC system_header" at the start of
> all the files that contain the patches you're referring to.
> So we should be OK.

Thanks for checking into this.



reply via email to

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