Thread: Comment #line after pre-processing
Does anyone know if it's possible to suppress the comment ' #line nn ...' which appear in the C file, after pre-processing with ecpg.
Thanks
Michaël Fiey wrote: > Does anyone know if it's possible to suppress the comment ' #line nn ...' which appear in the C file, after pre-processingwith ecpg. > Thanks > That's not a comment. It's a mechanism used by cpp (and other preprocessors as well) to tell cc1 (the real C compiler) in which input file and line number it actual is compiling. If you remove this information, compiler error messages cannot tell you anymore the "real" location of the error. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #