http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57475
--- Comment #3 from Eric Blake <eblake at redhat dot com> --- (In reply to Manuel López-Ibáñez from comment #1) > We could detect the special case where the spelling is the same and report > where each type is declared. Be aware that "spelled the same" needs to disregard cv-qualification; the original message prompted this report was comparing 'const struct msghdr *' to 'struct msghdr *'; and I was left scratching my head why automatic 'const' wasn't being added.