[GRASS-dev] Re: [GRASS GIS] #902: nviz (tcl) fails on wingrass

GRASS GIS trac at osgeo.org
Tue Feb 2 21:21:43 EST 2010


#902: nviz (tcl) fails on wingrass
-----------------------+----------------------------------------------------
  Reporter:  hamish    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  critical  |   Milestone:  6.4.0                    
 Component:  NVIZ      |     Version:  svn-trunk                
Resolution:            |    Keywords:                           
  Platform:  All       |         Cpu:  All                      
-----------------------+----------------------------------------------------
Comment (by glynn):

 Replying to [comment:2 glynn]:

 > Or simpler still, change Ngetargs to return `argv[0]` separately (and
 just ignore `argv[1]`), and change parse_command() to match.

 I've applied this solution to trunk in r40784.

 And also eliminated a C99/gcc-ism: C89 requires the dimensions of an array
 declaration to be a compile-time constant, so:
 {{{
 char *argv2[argc - 1];
 }}}
 isn't valid.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/902#comment:3>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list