https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57111
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=54202 Status|ASSIGNED |RESOLVED Target Milestone|--- |11.0 Resolution|--- |FIXED --- Comment #16 from Martin Sebor <msebor at gcc dot gnu.org> --- Done for GCC 11, including issuing warnings for system headers. As I mentioned, the warning is not free of false positives (e.g., pr54202).