Feature request #2030
types conversion's errors when build
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | nobody - | ||
Category: | Build/Install | ||
Pull Request or Patch supplied: | Resolution: | wontfix | |
Easy fix?: | No | Copied to github as #: | 12090 |
Description
Sorry, but I don't know how fill the 'Milestone', 'Version' and 'Platform Version' fields.
I'm on Ubuntu 8.10 and I'm using the code in the trunk.
The patch file is attached.
------------------------------------------------------------------
/trunk/qgis/src/providers/grass/qgsgrass.cpp:338
G+setenv(( char * ) "GISDBASE", gisdbase.toAscii().constData() );
cannot convert argument 2 from 'const char *' to 'char *'
fix it by:
G+setenv(( char * ) "GISDBASE", gisdbase.toAscii().data() );
----------------------------------------------------------------------
/trunk/qgis/src/providers/grass/qgsgrass.cpp:340
G+setenv(( char * ) "LOCATION_NAME", location.toAscii().constData() );
cannot convert argumnet 2 from 'const char *' to 'char *'
fix if by:
G+setenv(( char * ) "LOCATION_NAME", location.toAscii().data() );
History
#1 Updated by Jürgen Fischer almost 15 years ago
- Resolution set to wontfix
- Status changed from Open to Closed