https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118458
--- Comment #7 from Stephen Berry <stephenberry.developer at gmail dot com> --- I should clarify that GCC doesn't appear to emit this warning after GCC13. So, in this case I was looking for a solution for older versions of GCC. This request was written generically, so that the issue could be avoided in the future for warnings that developers want to disable.