[gdal-dev] direct.h and other Windows issue

Martin Landa landa.martin at gmail.com
Thu Dec 10 01:44:15 PST 2015


Hi,

2015-12-10 10:27 GMT+01:00 Even Rouault <even.rouault at spatialys.com>:

> Same here. Except when I look at
> https://svn.osgeo.org/grass/grass/trunk/raster/r.in.gdal/main.c, I see it is a
> G_snprintf() call, so perhaps you use an outdated version ? Or perhaps

no, I fixed that some minutes ago by replacing snprintf() by G_snprintf() :-)

> G_snprintf() is just a macro.
> I know that before Visual Studio 2015, snprintf() didn't exist, and there was
> a _snprintf() function instead, but that might be unrelated to your issue with
> mingw.

see [1]. Ma

[1] https://trac.osgeo.org/grass/browser/grass/trunk/lib/gis/snprintf.c#L43

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list