bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44171: Make cwarn.el obsolete


From: Stefan Kangas
Subject: bug#44171: Make cwarn.el obsolete
Date: Fri, 23 Oct 2020 10:53:50 +0000

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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]