[GRASS-dev] Re: [GRASS GIS] #1276: r.null after v.to.rast in winGRASS does not work properly

GRASS GIS trac at osgeo.org
Mon Jan 30 04:32:21 EST 2012


#1276: r.null after v.to.rast in winGRASS does not work properly
-----------------------------------------+----------------------------------
 Reporter:  helena                       |       Owner:  grass-dev@…              
     Type:  defect                       |      Status:  new                      
 Priority:  critical                     |   Milestone:  6.4.2                    
Component:  Raster                       |     Version:  6.4.1 RCs                
 Keywords:  r.null, v.to.rast, wingrass  |    Platform:  MSWindows 7              
      Cpu:  Unspecified                  |  
-----------------------------------------+----------------------------------

Comment(by glynn):

 Replying to [comment:22 hamish]:
 > probably unrelated, but fyi,
 >
 {{{
 spawn.c: In function 'parse_argvec':
 spawn.c:739: warning: cast from pointer to integer of different size
 }}}
 Known issue, not actually a problem, no obvious solution.

 Casting from pointer to a larger integer type to int would eliminate the
 warning, but there's no obvious candidate for the larger integer type. C89
 has neither intptr_t nor "long long"; in fact, there's no guarantee that a
 given C89 has any integral type capable of holding a pointer.

 In the cases where the cast occurs, the pointer is required to be an "int"
 which has been cast to a pointer, so casting back to "int" isn't a
 problem.

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



More information about the grass-dev mailing list