On 10/3/24 7:09 PM, Eric Gallager wrote:
On Thu, Oct 3, 2024 at 12:41 PM Jason Merrill <ja...@redhat.com> wrote:
By default -Wdeprecated warns about deprecations in the active standard.
When specified explicitly, let's also warn about deprecations in later
standards.
This strikes me as slightly dangerous. At the very least this should
get a note in the "Caveats" and/or "Porting To" section of the release
notes, as I can see the change breaking some builds that also use
-Werror.
Agreed, but do you think people are using explicit -Wdeprecated? It's
had little effect before this patch, since the flag is on by default.
Jason