all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#44171: Make cwarn.el obsolete
@ 2020-10-23 10:53 Stefan Kangas
  2020-10-23 11:14 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2020-10-23 10:53 UTC (permalink / raw)
  To: 44171

cwarn.el is a package that highlights three types of "suspicious C and
C++ constructions".

;; * Assignments inside expressions, including variations like "+=".
;; * Semicolon following immediately after `if', `for', and `while'
;;   (except, of course, after a `do .. while' statement).
;; * C++ functions with reference parameters.

This was written in 1999, but is it useful today?

Modern compilers should warn about the above, and for the cases where
they don't, users are probably better off using a real linter (such as
cppcheck for C).

Should cwarn.el be obsoleted?





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

end of thread, other threads:[~2020-10-23 13:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-23 10:53 bug#44171: Make cwarn.el obsolete Stefan Kangas
2020-10-23 11:14 ` Eli Zaretskii
2020-10-23 12:12   ` Stefan Kangas
2020-10-23 13:03     ` Eli Zaretskii
2020-10-23 13:20       ` Stefan Kangas

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.