[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new extern inline provokes -Wmissing-declarations warnings
From: |
Paul Eggert |
Subject: |
Re: new extern inline provokes -Wmissing-declarations warnings |
Date: |
Sun, 05 Aug 2012 07:29:49 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
On 08/05/2012 06:27 AM, Jim Meyering wrote:
> * configure.ac: Disable -Wmissing-declarations to avoid warnings
> from gnulib's newly extern-inline functions.
This shouldn't be needed if your compiler is sufficiently
new, because timespec.h's _GL_INLINE_HEADER_BEGIN
is supposed to suppress those warnings. If you're using
GCC 4.7.1 or later, could you please figure out what the issue
is? If it's an older GCC, I wouldn't worry about it -- people
aren't supposed to use --enable-gcc-warnings unless
they have a sufficiently-new GCC.