<div dir="ltr"><div>To <span class="gmail-gD" style="text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:700;text-decoration:none;word-spacing:0px;vertical-align:top;display:inline;white-space:nowrap;background-color:transparent" name="Raúl Marín Rodríguez">Raúl Marín Rodríguez</span></div><div><span class="gmail-gD" style="text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:700;text-decoration:none;word-spacing:0px;vertical-align:top;display:inline;white-space:nowrap;background-color:transparent" name="Raúl Marín Rodríguez"><br></span></div><div><font size="3">   Thank you for ur suggestions, I'll try them both 😁😁</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-18 17:18 GMT+08:00 Raúl Marín Rodríguez <span dir="ltr"><<a href="mailto:rmrodriguez@carto.com" target="_blank">rmrodriguez@carto.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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_AllocSet<wbr>Context, 819<br>                              <wbr>              ^<br>In file included from std_pg_hash.c:7:0:<br>/mnt/e/app/postgres/include/se<wbr>rver/utils/memutils.h:140:13: note: expected ‘MemoryContext {aka struct MemoryContextData *}’ but ar<br>gument is of type ‘int’<br> extern void MemoryContextCreate(MemoryCont<wbr>ext 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_AllocSet<wbr>Context, 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(MemoryCont<wbr>ext 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></div></div>______________________________<wbr>_________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" target="_blank" rel="noreferrer">https://lists.osgeo.org/mailma<wbr>n/listinfo/postgis-devel</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_8225085343982032489gmail_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 style="font-size:12.8px" href="http://carto.com/" target="_blank">carto.com</a><div><br></div></div></div></div></div></div></div>
</font></span></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" target="_blank" rel="noreferrer">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-devel</a><br></blockquote></div><br></div>