#C++ Programmers
23-Feb-91 23:15:33
Sb: #7829-#C++ Programmers
Fm: Mike Roth/Lattice 76566,1137
To: Greg Comeau@Comeau Cmptg 72331,3421
Greg,
I think I will have to disagree with you on terminology. I have never
heard the term translating compiler used. I have always heard the term
preprocessor used. However, I do agree with your explanations, including
the value of the Lattice C++ product.
The Lattice C++ compiler did not know how to generate debug information,
but relied on the C compiler to do that. This meant that if you wished to
debug C++ code you had to step through the generated lines of C code which
do not always look a lot like the original code, and you also had to use
the mangled variable names. This was a major deficiency for debugging
purposes.
I would not consider coming out with a C++ compiler/translator/whatever
today that could not generate debug information directly for the C++ code.
If your product handles this, that's great.
— Mike Roth