------- Comment #10 from gdr at cs dot tamu dot edu  2006-01-18 20:29 -------
Subject: Re:   New: want optional warning for non-constant declarations that
could be constant

"sigra at home dot se" <[EMAIL PROTECTED]> writes:

| Declaring variables and parameters as constants is a very useful feature that
| should be used as much as possible. Therefore it would be very useful to have
| an option to warn when something is not declared as constant eventhough it
| could be, at least in C++ and probably in other languages as well.

Isn't this a task for lint-like tool?  GCC isn't such thing.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25845

Reply via email to