This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/8297: problem with preprocessor
- From: riteshg at pune dot tcs dot co dot in
- To: gcc-gnats at gcc dot gnu dot org
- Date: 21 Oct 2002 05:46:30 -0000
- Subject: c++/8297: problem with preprocessor
- Reply-to: riteshg at pune dot tcs dot co dot in
>Number: 8297
>Category: c++
>Synopsis: problem with preprocessor
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 20 22:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Ritesh goel
>Release: unknown-1.0
>Organization:
>Environment:
linux 7.2
>Description:
when i run
#define comment /##/
comment
the output is coming as space between twp front slash "/ /".
and it is supposed to come "//" . I am using gcc 3.0 . Till
older versions than gcc3.0 it is comming correctly as "//" .
And also in older version preprocessor is not processing the user defined comments as
#define comment /##/
comment
when ran with -E option gives output in preprocessed file
as
//
plzz check it
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: