Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ukma.UUCP Path: utzoo!watmath!clyde!cbosgd!ukma!david From: david@ukma.UUCP (David Herron, NPR Lover) Newsgroups: net.lang.c Subject: Re: How to let lint check your format strings Message-ID: <1582@ukma.UUCP> Date: Sat, 6-Apr-85 14:35:54 EST Article-I.D.: ukma.1582 Posted: Sat Apr 6 14:35:54 1985 Date-Received: Sun, 7-Apr-85 05:16:40 EST References: <558@mcvax.UUCP> Organization: Univ. of KY Mathematical Sciences Lines: 23 Something that may not have been obvious....to turn it back off when the code is de-linted, have another .h file like this: #define procent_a(a) a #define procent_b(a) a And so forth. I'm planning on doing something of this sort with C++ when our copy arrives. Specifically, it ought to be possible to have a C++ .h file which will do array bounds checking for you. And have a different .h file which won't. Both would have the same syntax for doing everything, and the syntax should be the same as for in C also. Use both the same way. Enable the strict mode for testing then loosen it up for production code so you don't have any overhead. -- --- David Herron --- ARPA-> ukma!david<@ANL-MCS> or david%ukma.uucp@anl-mcs.arpa --- Or even anlams!ukma!david@ucbvax.arpa --- UUCP-> {ucbvax,unmvax,boulder,oddjob}!anlams!ukma!david --- cbosgd!ukma!david "The home of poly-unsaturated thinking".