[GRASS-dev] [GRASS GIS] #462: Tcl interp->result deprecated

GRASS GIS trac at osgeo.org
Sat Jan 24 15:21:06 EST 2009


#462: Tcl interp->result deprecated
---------------------+------------------------------------------------------
 Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:  6.4.0                    
Component:  Tcl      |     Version:  svn-develbranch6         
 Keywords:           |    Platform:  All                      
      Cpu:  All      |  
---------------------+------------------------------------------------------
 In Tcl, interp->result is (really) deprecated from Tcl8.6 onwards. Still
 it is used in several modules:

 {{{
 ./lib/form/form.c
 ./vector/v.digit/form.c
 ./visualization/nviz/src/anim_support.c
 ./visualization/nviz/src/cutplane_obj.c
 ./visualization/nviz/src/do_zoom.c
 ./visualization/nviz/src/draw.c
 ./visualization/nviz/src/exag.c
 ./visualization/nviz/src/lights.c
 ./visualization/nviz/src/map_obj.c
 ./visualization/nviz/src/misc.c
 ./visualization/nviz/src/mkdspf_main.c
 ./visualization/nviz/src/nvizAppInit.c
 ./visualization/nviz/src/nviz_init.c
 ./visualization/nviz/src/position.c
 ./visualization/nviz/src/togl_flythrough.c
 ./visualization/nviz/src/volume.c
 }}}

 Funda Wang has proposed a patch set:
 http://svn.mandriva.com/cgi-
 bin/viewvc.cgi/packages/cooker/grass/current/SOURCES/grass-6.4.0-tcl8.6.patch?view=log

 which I attached to the ticket.

 Is it correct and can be submitted to 6.4.x to gain compatibility with
 Tcl > 8.5? Related problems on Mac where reported.

 Markus

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/462>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list