Hi,

2015-12-10 10:49 GMT+01:00 Even Rouault <[email protected]>:

> Definitely. As pointed by Jürgen you're playing a dangerous game here re-using
> with mingw the cpl_config.h designed to work with MSVC.
> This allias of getcwd to _getcwd is for MSVC only.
> To work around this issue you could just #define getcwd getcwd before 
> including
> GDAL headers.

I know, unfortunately to make GRASS compiled by MSVC is so huge effort
that nobody did till now. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to