compile error in QGIS svn: invalid conversion from ‘const char*’ to ‘char*’

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

compile error in QGIS svn: invalid conversion from ‘const char*’ to ‘char*’

Hernán De Angelis
Dear all,

I am experiencing the following error while compiling QGIS, checked
out today from svn:


[ 63%] Building CXX object
src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o
/usr/local/src/qgis/src/providers/grass/qgsgrassprovider.cpp: In
static member function ‘static int QgsGrassProvider::openMap(QString,
QString, QString, QString)’:
/usr/local/src/qgis/src/providers/grass/qgsgrassprovider.cpp:1005:
error: invalid conversion from ‘const char*’ to ‘char*’
make[2]: *** [src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o]
Error 1
make[1]: *** [src/providers/grass/CMakeFiles/qgisgrass.dir/all] Error 2
make: *** [all] Error 2


Since I am not a C++ specialist I have difficulties understanding how
to overcome this.
Any hint will be appreciated,


Thanks in advance


Hernán


--

Hernán De Angelis
Linux user # 397217
_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-user