This is the mail archive of the
mailing list for the glibc project.
Re: Avoid "inline" after return type in function definitions
On Wed, 6 Feb 2019, Florian Weimer wrote:
> Do you plan to submit patches to turn on individual -Werror= flags where
> these are reasonable (such as -Werror=old-style-declaration)?
I'm hoping it will be possible to use -Wextra with selected -Wno- options.
(Subject to care to avoid the use of -Wno- options for
nptl/tst-initializers1.c, which should get the full effect of -Wextra,
without -Wno-missing-field-initializers - whereas there are over a
thousand -Wmissing-field-initializers warnings building glibc, so I expect
-Wno-missing-field-initializers would be needed at least initially if
The warnings I'm using for the present fixes are from a single -Wextra
build for x86_64, of glibc but not the testsuite; actually adding new
warning options will need build-many-glibcs.py testing to find and fix
warnings more thoroughly.
Joseph S. Myers