[mapserver-users] compiling mapserver

Seth G sethg at geographika.co.uk
Thu Feb 2 03:54:04 PST 2017


Hi Ahmed,

I had issues with strdup on Windows, see:

https://github.com/mapserver/mapserver/pull/5313

https://github.com/mapserver/mapserver/pull/5321

All occurrences should be replaced with msStrdup. Maybe your issue is 
related?

Regards,

Seth


On 01/02/2017 17:10, Ahmed Tolba wrote:
>
> I get the following errors when I try to compile mapserver trunk 
> version using visual studio 2015
>
> 1>d:\maps\mapserver.h(2238): warning C4273: 'strdup': inconsistent dll 
> linkage
>
> 1> C:\Program Files (x86)\Windows 
> Kits\10\Include\10.0.10586.0\ucrt\string.h(530): note: see previous 
> definition of 'strdup'
>
> 1> maperror.c
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
web: http://geographika.co.uk
twitter: @geographika

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170202/ab48b380/attachment.html>


More information about the mapserver-users mailing list