http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59870
--- Comment #4 from Chengnian Sun <chengniansun at gmail dot com> --- Thanks for your clarification, Harald, Jakub and Andrew. I realize that the options "-Wall -Wextra" do not enable all the warnings. Is there a flag in GCC which enables all the available warning types, similar to -Weverything in Clang? I think people are usually aware of the two flags for warnings (i.e., "-Wall -Wextra"), especially for beginner programmers. Maybe it is worth a try to add such a flag? Thanks.