https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656
--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Eric Gallager from comment #8) > Any reason not to put -Wnested-externs in -Wall or -Wextra? It warns for any "extern" declaration in other than file scope. This is completely standard C, and useful as well. It is harmful to warn about idiomatic code, especially if there is no real alternative. I don't think anyone will accidentally do this either (you don't type "extern" if you don't mean it, after all). Do you have any example where this warning helped you find a bug?