[gdal-dev] Missing include in MSG driver

Even Rouault even.rouault at mines-paris.org
Wed May 21 02:39:50 PDT 2014


Le mardi 20 mai 2014 10:21:43, Christian Authmann a écrit :
> Hello,
> 
> I tried to compile GDAL 1.11.0 with the meteosat 2 (MSG) driver, but
> compilation failed in
> 
> frmts/msg/msgcommand.cpp
> 
> with a message stating that sprintf() was unknown. Adding
> 
> #include <cstdio>
> 
> at the top of the file fixed the problem. A trivial patch is attached; I
> release it under the license of the original file in the hopes that a
> dev will commit it.

Could not compile-test myself, but looks reasonnable

Applied per http://trac.osgeo.org/gdal/ticket/5479

> 
> 
> Thanks!

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list