| От | Tom Lane |
|---|---|
| Тема | Re: PG_MODULE_MAGIC issue with small extension |
| Дата | |
| Msg-id | 12115.1472829543@sss.pgh.pa.us обсуждение |
| Ответ на | PG_MODULE_MAGIC issue with small extension (Brent Douglas <brent.n.douglas@gmail.com>) |
| Ответы |
Re: PG_MODULE_MAGIC issue with small extension
|
| Список | pgsql-general |
Brent Douglas <brent.n.douglas@gmail.com> writes:
> pg_zlib.c:24:1: warning: type specifier missing, defaults to 'int'
> [-Wimplicit-int]
> PG_MODULE_MAGIC;
> ^
> 1 warning generated.
Ah, I'd thought you'd just misread the documentation, but looking closer
I realize that you're probably not understanding the significance of this
warning. I think what's wrong is you have not #include'd "fmgr.h" which
is where PG_MODULE_MAGIC is defined. It's not exactly clear to me why
that's resulting in a warning rather than an error, but certainly this
is indicating a problem.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера