[PATCH v2] Remove union wait

Florian Weimer fweimer@redhat.com
Tue Apr 12 11:38:00 GMT 2016


On 04/11/2016 11:55 PM, Roland McGrath wrote:

> But I will point out that the claim that the deprecation warnings are
> just as bad as outright removal is not really right.  Packagers or
> system-builders or whoever can add -Wno-error=deprecated to the
> compilation flags for a particular package via configure, or for an
> entire package-building system in that system's configuration for
> building all packages (a la redhat-rpm-config), etc.

There are so many build systems out there.  Figuring out how to disable 
-Werror is often more complicated than patching sources to get rid of 
the warning (especially if there are few places where the warning 
triggers, and the required change is straightforward).  Some projects do 
this deliberately to prevent warnings from accumulating.

At scale (for an entire distribution which has just rebased glibc), 
there is sometimes little difference between the two approaches to get 
rid of the deprecation warning.

Florian



More information about the Libc-alpha mailing list