<div dir="ltr">Hi,<div><br></div><div>Normally we only try to keep up with postgresql-dev in our trunk branch until there is a RC, but I've just backported the PG 11 compatibility to our 2.4 dev branch so you can use that if you want.</div><div>Nevertheless, I'd recommend you to either use the latest stable release for both (postgresql 10.4, postgis 2.4.4) or the development branches for both (master for postgresql and trunk for postgis).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 18, 2018 at 9:54 AM, 舒元昊 <span dir="ltr"><<a href="mailto:jincheng.jcs@gmail.com" target="_blank">jincheng.jcs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all:</div><div>    I'm new here, I don't know is it appropriate to report that issue via mail list. If not, I apologize.</div><div><br></div><div>    I have builded postgis2.4.4 and postgis2.4.5dev with postgresql 11devel today, and one error occured when `make` address_standardizer, here is the error info:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left:1px solid rgb(204,204,204)">    std_pg_hash.c: In function ‘AddToStdPortalCache’:<br>std_pg_hash.c:400:44: warning: passing argument 1 of ‘MemoryConte xtCreate’ makes pointer from integer without a cast [-Wint-conver sion]<br>     STDMemoryContext = MemoryContextCreate(T_<wbr>AllocSetContext, 819<br>                              <wbr>              ^<br>In file included from std_pg_hash.c:7:0:<br>/mnt/e/app/postgres/include/<wbr>server/utils/memutils.h:140:<wbr>13: note: expected ‘MemoryContext {aka struct MemoryContextData *}’ but ar<br>gument is of type ‘int’<br> extern void MemoryContextCreate(<wbr>MemoryContext node,<br>             ^<br><font style="background-color:rgb(0,255,0)">std_pg_hash.c:400:22: error: void value not ignored as it ought to be</font><br>     STDMemoryContext = MemoryContextCreate(T_<wbr>AllocSetContext, 819<br>                      ^<br><builtin>: recipe for target 'std_pg_hash.o' failed<br>make[2]: *** [std_pg_hash.o] Error 1</blockquote><div> </div><div>so I look at my postgresql and find out that MemoryContextCreate was a void funcation, here is the code in utils/memutils.h</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left:1px solid rgb(204,204,204)"><br>/*<br> * This routine handles the context-type-independent part of memory<br> * context creation.  It's intended to be called from context-type-<br> * specific creation routines, and noplace else.<br> */<br>extern void MemoryContextCreate(<wbr>MemoryContext node,<br>                              <wbr>          NodeTag tag,<br>                              <wbr>          const MemoryContextMethods *methods,<br>                              <wbr>          MemoryContext parent,<br>                              <wbr>          const char *name);<br></blockquote><div><br></div><div>Now I think this is an error  caused by postgresql function change, am I right ? So I should use a older version of postgresql ?</div><div>If what I think was wrong, pls help me.</div><div><br></div><div>Thank you very much!</div></div>
<br>______________________________<wbr>_________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-devel</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b style="font-size:12.8px"><font color="#666666">Raúl Marín Rodríguez <br></font></b><a href="http://carto.com/" style="font-size:12.8px" target="_blank">carto.com</a><div><br></div></div></div></div></div></div></div>
</div>