Re: Comment #line after pre-processing

From: JanWieck(at)t-online(dot)de (Jan Wieck)
To: Michaël Fiey <m(dot)fiey(at)futuresoundtech(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Comment #line after pre-processing
Date: 2000-07-25 19:07:01
Message-ID: 200007251907.VAA21123@hot.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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-processing with 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(at)Yahoo(dot)com #

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mjp 2000-07-25 19:46:38 General Trigger Functions
Previous Message mikeo 2000-07-25 18:10:49 can disks be read only?