[Bug c++/68230] Unused function parameters not reported by -Wunused-parameter when only used recursively.
j.fisher at digipen dot edu
gcc-bugzilla@gcc.gnu.org
Tue Oct 3 00:47:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68230
--- Comment #8 from Joshua T, Fisher <j.fisher at digipen dot edu> ---
(In reply to Jonathan Wakely from comment #7)
> (In reply to Joshua T, Fisher from comment #5)
> > and my blog where I first encountered this in a closed source codebase:
> >
> > http://www.nullterminatedstrings.com/c++/recursive-warning
>
> I'm a bit more persuaded having read this. If it points out you forgot to
> use it (for anything except the recursion) that could help find real bugs.
That's what I was hoping! I feel like it's definitely something that could hit
some real code bases. I find it unlikely I'm the only person ever to run into
this.
More information about the Gcc-bugs
mailing list