home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!mcsun!sunic!ericom!eua.ericsson.se!euas62c36!euamts
- From: euamts@eua.ericsson.se (Mats Henricson)
- Subject: Lint++ (Re: Give me safe C++)
- Message-ID: <1992Dec16.120137.23124@eua.ericsson.se>
- Sender: news@eua.ericsson.se
- Nntp-Posting-Host: euas62c36.eua.ericsson.se
- Reply-To: euamts@eua.ericsson.se
- Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
- References: <724462415snx@trmphrst.demon.co.uk>
- Date: Wed, 16 Dec 1992 12:01:37 GMT
- Lines: 20
-
- In article 724462415snx@trmphrst.demon.co.uk, nikki@trmphrst.demon.co.uk (Nikki Locke) writes:
- #I rather like the idea of a restricted subset of C++ which disallows
- #everything dubious, provided, of course, you can use the full power of the
- #language occasionally (maybe in separate modules, or inside some #pragma
- #section). That way I get protected from my own mistakes, but I can still
- #work round any shortcomings in the language, the machine architecture or
- #the design.
- #
- #How about a -safe-c++-only switch to the compiler :-)
-
- I think a better approach is a programmable Lint++, since different users
- and different companies have different views of what is dangerous or not.
- As long as you know why Lint++ gives you all these warnings, you probably
- know what you are doing.
-
- Mats Henricson
- Ellemtel Telecom Systems Labs
- Stockholm
- Sweden
-
-