Re: Comment #line after pre-processing - Mailing list pgsql-general

From JanWieck@t-online.de (Jan Wieck)
Subject Re: Comment #line after pre-processing
Date
Msg-id 200007251907.VAA21123@hot.jw.home
Whole thread Raw
In response to Comment #line after pre-processing  (Michaël Fiey <m.fiey@futuresoundtech.com>)
List pgsql-general
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 #


























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































pgsql-general by date:

Previous
From: Michaël Fiey
Date:
Subject: Comment #line after pre-processing
Next
From: mjp@ornl.gov
Date:
Subject: General Trigger Functions