Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdahl!pyramid!prls!philabs!micomvax!ray From: ray@micomvax.UUCP (Ray Dunn) Newsgroups: comp.lang.c Subject: Re: const, volatile, etc Message-ID: <1451@micomvax.UUCP> Date: 8 Dec 88 00:24:56 GMT References: <674@quintus.UUCP> <117@halcdc.UUCP> <468@auspex.UUCP> <9033@smoke.BRL.MIL> <10929@ulysses.homer.nj.att.com> Reply-To: ray@micomvax.UUCP (Ray Dunn) Organization: Philips Electronics Ltd. (TDS - Montreal) St. Laurent QC, Canada Lines: 15 In article <10929@ulysses.homer.nj.att.com> ggs@ulysses.homer.nj.att.com (Griff Smith) writes: >.... >Good start. Now, what do I do about upgrading a million lines of old >code to the new standard, and finding all the mis-declared variables. You dont. See my previous posting. The standard as far as this goes, hasn't changed. If your program is wrong now, it was wrong before! The only change is that *now* you have a way of using the optimizer with variables that are volatile. You didn't before. -- Ray Dunn. | UUCP: ..!philabs!micomvax!ray Philips Electronics Ltd. | TEL : (514) 744-8200 Ext: 2347 600 Dr Frederik Philips Blvd | FAX : (514) 744-6455 St Laurent. Quebec. H4M 2S9 | TLX : 05-824090