From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] C compiler and junk mail MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010305231800.96E62199F5@mail.cse.psu.edu> Date: Mon, 5 Mar 2001 18:17:56 -0500 Topicbox-Message-UUID: 6c570a38-eac9-11e9-9e20-41e7f4b1d025 If you add the following to /sys/src/cmd/cc/lex.c, it will pass -+ through to the invoked cpp: av[0] = CPP; i = 1; >>> if(debug['+']) { >>> sprint(opt, "-+"); >>> av[i++] = strdup(opt); >>> } for(c = 0; c < ndef; c++) { sprint(opt, "-D%s", defs[c]); av[i++] = strdup(opt); } Then you can use 8c -p+, etc. I added this back in January to solve exactly the problem you describe. It will make it out for real when we next do a release. Russ