Re: Comment #line after pre-processing

Поиск
Список
Период
Сортировка
От JanWieck@t-online.de (Jan Wieck)
Тема Re: Comment #line after pre-processing
Дата
Msg-id 200007251907.VAA21123@hot.jw.home
обсуждение исходный текст
Ответ на Comment #line after pre-processing  (Michaël Fiey <m.fiey@futuresoundtech.com>)
Список 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 по дате отправления:

Предыдущее
От: Michaël Fiey
Дата:
Сообщение: Comment #line after pre-processing
Следующее
От: mjp@ornl.gov
Дата:
Сообщение: General Trigger Functions