From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6884 invoked by alias); 21 Oct 2002 19:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6870 invoked by uid 71); 21 Oct 2002 19:56:01 -0000 Date: Mon, 21 Oct 2002 12:56:00 -0000 Message-ID: <20021021195601.6869.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Neil Booth Subject: Re: c++/8297: problem with preprocessor Reply-To: Neil Booth X-SW-Source: 2002-10/txt/msg00788.txt.bz2 List-Id: The following reply was made to PR c++/8297; it has been noted by GNATS. From: Neil Booth To: Ritesh Goel Cc: zack@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/8297: problem with preprocessor Date: Mon, 21 Oct 2002 20:53:58 +0100 Ritesh Goel wrote:- > Thanx for ur immediate response . > I want to give comments in my program with using keyword "COMMENT" not > with // . that should be eliminated during preprocessing . > > as COMMENT Line in comment > instead of > // Line in comment > > I tried to make it using #define but it insert space between that with > version gcc3.0 . > It is doing that with previous versions . But there also in the preprocessed > output it is replacing that with // . > So when i am taking preprocessed output there, it is taking it as comment . > And all the comments should be removed in preprocessing . but it is not > doing that . > > > I am not getting anyway to to do that . Can u help me in that . This is a Microsoft-ism that we will not duplicate. There is no way to do what you want with standard C or C++. Neil.