From:	CRDGW2::CRDGW2::MRGATE::"SMTP::AI.MIT.EDU::GNULISTS" 22-FEB-1992 09:23:59.18
To:	ARISIA::EVERHART
CC:	
Subj:	Enhancements of C-preprocessor

From:	gnulists@ai.mit.edu@SMTP@CRDGW2
To:	Everhart@Arisia@MRGATE

Received:  by crdgw1.ge.com (5.57/GE 1.123)
	 id AA27077; Sat, 22 Feb 92 08:34:04 EST
Received: by life.ai.mit.edu (4.1/AI-4.10) id AA27017; Fri, 21 Feb 92 23:17:26 EST
Return-Path: <gnulists@ai.mit.edu>
Received: from raisin-nut (raisin-nut.ai.mit.edu) by life.ai.mit.edu (4.1/AI-4.10) id AA27010; Fri, 21 Feb 92 23:17:17 EST
Received: by raisin-nut (4.1/AI-4.10) id AA12678; Fri, 21 Feb 92 23:17:17 EST
Resent-Date: Fri, 21 Feb 92 14:13:06 +0100
Resent-Message-Id: <9202220417.AA12678@raisin-nut>
Received: from mail.Germany.EU.net ([192.76.144.65]) by life.ai.mit.edu (4.1/AI-4.10) id AA12476; Fri, 21 Feb 92 10:27:30 EST
Received: from apollon 
	by mail.Germany.EU.net with UUCP (5.65+/UNIDO-2.1.0.b)
	via EUnet for prep.ai.mit.edu
	id AA27678; Fri, 21 Feb 92 16:20:27 +0100
Received: from GAIA (EROS-GAIA) by apollon (4.1/SMI-4.1)
	id AA02904; Fri, 21 Feb 92 14:13:38 +0100
Received: from POSEIDON.CHAOS by GAIA (4.1/SMI-4.1)
	id AA16702; Fri, 21 Feb 92 14:13:06 +0100
Date: Fri, 21 Feb 92 14:13:06 +0100
From: apollon!wolfgang@ai.mit.edu (Wolfgang Kechel - Patzschke + Rasp GmbH)
Sender: gnulists@ai.mit.edu
Message-Id: <9202211313.AA16702@GAIA>
Received: by POSEIDON.CHAOS (4.1/SMI-4.1)
	id AA00989; Fri, 21 Feb 92 14:13:06 +0100
To: help-g++-request@prep.ai.mit.edu
Subject: Enhancements of C-preprocessor
Resent-From: help-g++-request@prep.ai.mit.edu

Here comes a nice fix to make GNU gcc/g++ more compatible to other ones. There
exist compilers (like AT&T C++) which call the preprocessor with the option -B
to discard C++-comments instead of -C. I've put the treatment of the flag into
cccp.c(was very easy. Here is the diff output for cccp.c from gcc-1.40:

73% diff cccp.c cccp.orig.c
209d208
< 
741,744d739
<       break;
< 
<     case 'B':
<       put_out_comments = 0;
74% 

bye
+-Wolfgang Kechel_------------------------------------------------+
| Email: wolfgang@apollon.uucp or wolfgang%apollon@germany.eu.net |
|         Phone: +49-611-1731-26   FAX: +49-0611-173131           |
+-----------------------------------------------------------------+


