This is the mail archive of the
mailing list for the GCC project.
Re: egcs-980315 bug report
- To: dcb at pncl dot co dot uk (David C Binderman)
- Subject: Re: egcs-980315 bug report
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Wed, 25 Mar 1998 13:51:05 -0800
- cc: egcs-bugs at cygnus dot com
As part of getting the pre processor for G++ to emit something it
can later eat
I'd recommend against this. The ISO C standard says nothing at all about
the textual representation of the output of the preprocessor, nor does
it even say there needs to be one. If we start adding arbritrary restrictions
to the cpp output, then we are likely to cause implementation and maintenance
problems for ourselves.
Preprocessing code more than once is such an obscure feature request that
I don't believe we should try to support it. If you need more than one
preprocessing step, then use M4.
Note I've upgraded some of the warnings to errors as well.
I'm interested in compiling ISO C++, not compatability with
This breaks support for K&R C and GNU C. If you want all diagnostics to
be reported as errors, then use -pedantic-errors.
I've also ensured that when the pre processor finds an error,
it prints out a unique string
There is some usefulness to this, but if we decide to do it, we should change
all parts of the compiler at the same time.