[GRASS-dev] Re: [GRASS GIS] #519: osgeo4w build

GRASS GIS trac at osgeo.org
Fri Mar 6 16:42:01 EST 2009


#519: osgeo4w build
----------------------+-----------------------------------------------------
  Reporter:  jef      |       Owner:  grass-dev at lists.osgeo.org
      Type:  task     |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  default  |     Version:  svn-develbranch6         
Resolution:           |    Keywords:                           
  Platform:  All      |         Cpu:  All                      
----------------------+-----------------------------------------------------
Changes (by neteler):

  * platform:  Unspecified => All
  * cpu:  Unspecified => All

Comment:

 I have merged in the changes from Glynn (mailing list).

 Questions: is the NOFILTEROUT=1 stuff needed (see include/Make/Lib.make
 and lib/gis/Makefile in the path)?

 I have taken out in the revised patch:
 {{{
 Index: lib/g3d/g3dmask.c
 ===================================================================
 --- lib/g3d/g3dmask.c   (revision 36200)
 +++ lib/g3d/g3dmask.c   (working copy)
 @@ -309,12 +309,12 @@
         for (dy = y; dy < rows; dy++) {
             for (dx = x; dx < cols; dx++) {
                 G3D_MASKNUM(map, dx, dy, dz, tile, type);
 -               tile += length;
 +               (unsigned char *)tile += length;
             }

 -           tile += xLength;
 +           (unsigned char *)tile += xLength;
         }
 -       tile += yLength;
 +       (unsigned char *)tile += yLength;
      }
  }
 }}}

 since it doesn't compile on Linux (C++ syntax?).

 Please review the mingw_updated.diff patch and suggest for
 lib/g3d/g3dmask.c.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/519#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list