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]

c++/8297: problem with preprocessor


>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:


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