Opened 15 years ago
Closed 15 years ago
#2030 closed patch (wontfix)
types conversion's errors when build
Reported by: | brushtyler | Owned by: | nobody |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | |
Component: | Build/Install | Version: | Trunk |
Keywords: | grass, build | Cc: | |
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
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 Gsetenv(( char * ) "GISDBASE", gisdbase.toAscii().constData() );
cannot convert argument 2 from 'const char *' to 'char *'
fix it by: Gsetenv(( char * ) "GISDBASE", gisdbase.toAscii().data() );
/trunk/qgis/src/providers/grass/qgsgrass.cpp:340 Gsetenv(( char * ) "LOCATION_NAME", location.toAscii().constData() );
cannot convert argumnet 2 from 'const char *' to 'char *'
fix if by: Gsetenv(( char * ) "LOCATION_NAME", location.toAscii().data() );
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | qgsgrass.cpp.diff added |
---|
comment:1 by , 15 years ago
Priority: | critical: causes crash or data corruption → minor: annoyance |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
patch file