[Qgis-developer] error: `::swprintf' has not been declared
a.furieri at lqt.it
a.furieri at lqt.it
Thu Oct 15 04:43:30 EDT 2009
Hi,
geos sets the -ansi switch, and MinGW support
for strict ANSI mode seems to be somehow
broken.
Anyway, I was able to solve this issue while
building geos for SpatiaLite acting as follows:
a) go to the MinGW C++ include dir
On my Windows XP this one actually is:
C:\MinGW\include\c++\3.4.5
b) edit the 'cwchar' file as follows:
161c161
< using ::swprintf;
---
> //using ::swprintf;
168c168
< using ::vswprintf;
---
> //using ::vswprintf;
c) after this simple change geos will build
with no problem at all (I hope ...)
bye
Sandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091015/abf5847b/attachment.html
More information about the Qgis-developer
mailing list