http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33801
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Missing warning |Missing warning: "type | |qualifiers are meaningless | |in this declaration" --- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-10-22 12:07:48 UTC --- What is the difference between this and this testcase: typedef const double* const_double; void foo(const const_double); Neither C nor C++ warn here with -Wall -Wextra. Clang neither warns in the original testcase. I don't see how the const can hurt. Anyway, adding a better description...