This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/8297: problem with preprocessor


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 .

regards
ritesh

----- Original Message -----
From: <zack@gcc.gnu.org>
To: <gcc-bugs@gcc.gnu.org>; <gcc-prs@gcc.gnu.org>; <nobody@gcc.gnu.org>;
<riteshg@pune.tcs.co.in>
Sent: Monday, October 21, 2002 12:14 PM
Subject: Re: c++/8297: problem with preprocessor


> Synopsis: problem with preprocessor
>
> State-Changed-From-To: open->closed
> State-Changed-By: zack
> State-Changed-When: Sun Oct 20 23:44:56 2002
> State-Changed-Why:
>     Not a bug.
>
>
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=8297
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]