[GRASS-dev] Re: [GRASS GIS] #22: Grass r.out.mat 64bit Matlab reading problem

GRASS GIS trac at osgeo.org
Thu Jan 24 00:48:49 EST 2008


#22: Grass r.out.mat 64bit Matlab reading problem
----------------------+-----------------------------------------------------
  Reporter:  alexice  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  minor    |   Milestone:  6.3.0                    
 Component:  default  |     Version:  6.2.3                    
Resolution:           |    Keywords:                           
----------------------+-----------------------------------------------------
Comment (by 1gray):

 Replying to [comment:3 glynn]:

 > stdint.h and int32_t are C99, and shouldn't be used in GRASS.

 I stand corrected.

 > The correct solution is to explicitly [de]serialise values rather than
 reading/writing the in-memory representation directly from/to files.

 I was about to suggest using Gnulib-provided {{{stdint.h}}} (since Gnulib
 is ''not'' a dependency, please check [http://www.gnu.org/software/gnulib/
 here]), but won't the explicit [de]serialisation also solve endianness
 issues, if any?

 BTW, shouldn't the other modules also be checked for similar issues?
 These [de]serialization routines are, to my mind, good candidates to
 inclusion into the library.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/22#comment:5>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list