Search Postgresql Archives

Re: PG_MODULE_MAGIC issue with small extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brent Douglas <brent.n.douglas@xxxxxxxxx> 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux