Mail Archives: djgpp/1992/10/12/04:41:03
Re error redirection. If the preprocessor produces an error, say
because it cannot find an include file due to a typo, I find that it
quits with no visible error message; compiling with -E oes not help,
though if I compile with E and redirect output to a file, as with
gcc -E prog.cc > temp
then the file "temp" DOES have usefule error messages in it. This is
the kind of thing which confuses novices! Incidentally, I have 1r2 in
the environment variable. Is there a way of getting preprocessor
errors straight to the screen as with compiler messages?
John Cremona
University of Exeter
Department of MAthematics
North Park Road
Exeter EX4 4QE
UK
Tel.: 0392-263794 (Office)
0392-210758 (Home)
email: cremona AT vortex1 DOT exeter DOT ac DOT uk
- Raw text -