[postgis-devel] Problem compiling with MinGW from SVN

strk strk at keybit.net
Sun Jul 5 05:32:54 PDT 2009


On Sun, Jul 05, 2009 at 12:35:25PM +0200, nicklas.aven at jordogskog.no wrote:
> 
> Hallo
>  
> I tried to compile from SVN wich has worked great before. I think the problem is strtok_r() used in lwgeom_geos, that is supposed to be found in string.h as I understand it. In my version in MinGW there is no strtok_r() in string.h, but strtok(). Is it a problem of versions or?

According to my manual page, strtok_r is compatible with POSIX.1-2001.
The non _r version is not reentrant, if other developers are fine with
that I could change to use it.

--strk;

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 



More information about the postgis-devel mailing list