Problem with debugging quoted backslash-newline in macro

Zack Weinberg zack@rabi.columbia.edu
Sun Dec 6 07:37:00 GMT 1998


On Sun, 6 Dec 1998 14:02:48 +0100, Martin von Loewis wrote:
>> * Making cpplib and cccp use the same code, rather than two code bases.
>
>Wouldn't it be better to drop cccp alltogether in favour of cpplib?
>We could build cpp from cpplib, and still leave it up to the user
>whether cpplib should be linked into the front-ends. This seems like a
>lesser waste of resources compared to trying to unify the
>preprocessors.

You read my mind.  But a lot of work has to be done:

- cpplib is ~2x slower than cccp
- it doesn't know about trigraphs at all
- it doesn't understand -dM
- it doesn't have any wide character support
- it lacks C9x features, and some C89 Amendment 1 features (%:)
- its VMS code suffers from extreme bitrot

I'm hoping to have at least the first three fixed by February.  I'll
never be able to fix the VMS port, unless a Vax magically appears in
my apartment (that's not a request :)

Also, I'd like to know what people think of having the gcc driver pass
the default include path on the command line always, so cpp itself
doesn't have to have that compiled in.  That'd get rid of a lot of gunk.

zw



More information about the Gcc-bugs mailing list