[gdal-dev] direct.h and other Windows issue
Martin Landa
landa.martin at gmail.com
Fri Dec 11 02:16:48 PST 2015
Hi,
2015-12-10 10:49 GMT+01:00 Even Rouault <even.rouault at spatialys.com>:
> 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
More information about the gdal-dev
mailing list