| От | Thomas Lockhart |
|---|---|
| Тема | Re: [INTERFACES] Error in ECPG and #if... |
| Дата | |
| Msg-id | 371D47D1.49A6B58@alumni.caltech.edu обсуждение |
| Ответ на | Error in ECPG and #if... ("Pavel PaJaSoft Janousek" <janousek@fonet.cz>) |
| Список | pgsql-interfaces |
> ECPG don't know C/C++ preprocessing directives such as #if, #ifdef
> etc...
> I think, that this is wrong, that ECPG use as comment only /* and //
> comment. Construction such as #if 0 is very common way to disable some
> source and enable this later... - mainly in debugging proces, of cource.
... but this is not common for ESQL preprocessors. The problem is that
the preprocessor runs before the C/C++ preprocessor, which is the step
which actually handles the #if constructs. ecpg has no knowledge of
those constructs. Remember that to do those correctly one must also
resolve all other preprocessor kinds of things, like #include
directives.
- Tom
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера