The original report from RMS stated: "GCC 4 when compiling Emacs gives annoying warnings about mismatched signs of pointer target types. To turn this off is not trivial, since the -Wno-pointer-sign option itself causes a diagnostic from older GCC versions. It makes compilation fail."
Evidently changing Emacs is not an acceptable option. After discussion with the SC and the original contributor of the -Wpointer-sign patch, the SC agreed that the best solution would be for -Wpointer-sign not to be enabled by default, but only if -Wall or --pedantic is present. Since the SC promised this fix to RMS, it needs to be considered a release blocker for 4.1. (I don't know about 4.0.3, probably best to do it there too). -- Summary: -Wpointer-sign creates problems for Emacs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jbuck at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25892