all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gl_MANYWARN_ALL_GCC() leads to many spurious warnings
@ 2012-07-06 21:17 Samuel Bronson
  2012-07-06 21:41 ` Paul Eggert
  0 siblings, 1 reply; 10+ messages in thread
From: Samuel Bronson @ 2012-07-06 21:17 UTC (permalink / raw)
  To: emacs-devel

It seems that gl_MANYWARN_ALL_GCC is intended to enable (virtually)  
all warnings implemented by GCC, no matter how noisy or badly tested  
they are in whatever GCC version is in use.

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.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-10 18:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-06 21:17 gl_MANYWARN_ALL_GCC() leads to many spurious warnings Samuel Bronson
2012-07-06 21:41 ` Paul Eggert
2012-07-06 22:38   ` Samuel Bronson
2012-07-07 19:53     ` Paul Eggert
2012-07-08  0:41       ` Samuel Bronson
2012-07-08  7:32         ` Paul Eggert
2012-07-08 14:10           ` Samuel Bronson
2012-07-09  2:15             ` Paul Eggert
2012-07-09 15:23               ` Samuel Bronson
2012-07-10 18:07                 ` Samuel Bronson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.