|
From: | Samuel Bronson |
Subject: | gl_MANYWARN_ALL_GCC() leads to many spurious warnings |
Date: | Fri, 6 Jul 2012 17:17:12 -0400 |
The result is that, even after we explicitly disable dozens of them again, we still generally get a lot of spurious warnings when building with --enable-gcc-warnings. Furthermore, since that option also enables -Werror, Emacs generally does not build at all in this configuration (unless you monkey around with WERROR_CFLAGS).
Why not simply use "-W -Wall -Wextra" and perhaps a few others, plus a few overrides to turn off the warnings those enable that aren't useful with Emacs? That way, we'd only get warnings that had been reasonably well tested.
[Prev in Thread] | Current Thread | [Next in Thread] |