This is the mail archive of the gcc-prs@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]

preprocessor/5288: "cpp -traditional -dD" does not output preprocessing result



>Number:         5288
>Category:       preprocessor
>Synopsis:       "cpp -traditional -dD" does not output preprocessing result
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 06 04:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erik Schnetter
>Release:        3.0.3
>Organization:
Theoretische Astrophysik Tuebingen
>Environment:
System: Linux lilypond 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001 i686 unknown
Architecture: i686

host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.0.3/configure --prefix=/home/eschnett/gcc
>Description:

When calling cpp as "cpp -traditional -dD", it is supposed to output
both the #defines and the result of the precprocessing.  However, with
these options cpp outputs only the #defines and does not output the
result of the preprocessing.  (The option combination "cpp -dD"
(without the "-traditional") works fine.)

>How-To-Repeat:

>Fix:

A work around is to run cpp twice, once as "cpp -traditional -dD" to
get the #defines in effect, and once as "cpp -traditional" to get the
result of the preprocessing.
>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]