This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Werror now enabled by default


On Wed, 10 Dec 2014, Andreas Schwab wrote:

> programs/locfile.h:85:1: error: inlining failed in call to 'maybe_swap_uint32.part.1': call is unlikely and code size would grow [-Werror=inline]
>  maybe_swap_uint32 (uint32_t value)
>  ^
> cc1: error: called from here [-Werror=inline]

For such -Winline errors, removing "inline" would typically be an 
appropriate fix (unless we think it's important to inline the function, in 
which case always_inline is appropriate).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]