https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078
Eric Gallager <egall at gwmail dot gwu.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egall at gwmail dot gwu.edu --- Comment #7 from Eric Gallager <egall at gwmail dot gwu.edu> --- Another way to make deprecation warnings less noisy would be to split -Wdeprecated-declarations into separate individually controllable flags, for example, one that only warns about where the "deprecated" attribute is used with the optional string following it. It could be called -Wdeprecated-declarations-with-reasons or something, and then it'd make it easier just to focus on the deprecated things for which there are replacements. Another way to split it up would be by whether it's deprecated with the C++-style attribute [-Wc++-deprecated-declarations] or a GNU-style attribute [-Wgnu-deprecated-declarations]. Just focusing on one or the other might be easier than trying to deal with warnings from each at the same time. Then there's also splitting it by the kind of declaration, similar to how -Wunused is an umbrella warning for several other more specific flags.