"The greatest virtues of the programmer are laziness, impatience and hubris." - Larry Wall, creator of Perl
LAZINESS: The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don't have to answer so many questions about it. Hence, the first great virtue of a programmer.
IMPATIENCE: The anger you feel when the computer is being lazy. This makes you write programs that don't just react to your needs, but actually anticipate them. Or at least that pretend to. Hence, the second great virtue of a programmer.
HUBRIS: Excessive pride, the sort of thing Zeus zaps you for. Also the quality that makes you write (and maintain) programs that other people won't want to say bad things about. Hence, the third great virtue of a programmer.
-- Randal Schwartz, The Camel Book
As for the actual answer of your question, I think the C++ compiler itself might do the trick. Invoke CL.EXE with command line parameters that tell it to build to a useless object file somewhere, then delete the object file. Use the stdout and stderr to find out about your errors and warnings.
hmm, cl.ex.. what wah that? too much work...
I was just looking for something that will put nested lines on the left margin for easy identifaction of code blocks. But that's ok, I got my bug fixed (which caused my detour to tek-tips in the first place).
Thanks for your help, though.
Sashi.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.