« Return to Thread: Problem compiling with MinGW from SVN

Re: Problem compiling with MinGW from SVN

by Sandro Santilli :: Rate this Message:

Reply to Author | View in Thread

On Sun, Jul 05, 2009 at 12:35:25PM +0200, nicklas.aven@... 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!
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

 « Return to Thread: Problem compiling with MinGW from SVN