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] | |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |