Re: [HACKERS] The use of macros for heap_getattr.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] The use of macros for heap_getattr.
Дата
Msg-id 199802091550.KAA13765@candle.pha.pa.us
обсуждение исходный текст
Ответ на The use of macros for heap_getattr.  ("Billy G. Allie" <Bill.Allie@mug.org>)
Список pgsql-hackers
>
> The compiler I'm using breaks while compiling aclchk.c, in particular, when
> processing the heap_getattr macro.  Yes, I know that it may compile with gcc
> (may, because I have not tried it yet), but I would rather not have to rely on
> gcc.  Would it be possible to include the non-macro version as a static
> function in the appropiate header file?  This would allow the compiler to
> in-line the function if it would provide a speed increase.

Send me the error, and try and determine what makes it break.  I will
try to change it so your compiler will work.  I used no gcc-specific
stuff in there that I know of.  Also, try removing stuff until it
compiles so I can know what it exactly does not like.

--
Bruce Momjian
maillist@candle.pha.pa.us

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Zeugswetter Andreas SARZ
Дата:
Сообщение: AIX port s_lock.h __AIX --> _AIX
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Bug?