Opened 16 years ago

Closed 16 years ago

#2248 closed defect (fixed)

GRIB autotest failing on epimetheus-full : endianness issue ?

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 1.6.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: grib macos endian
Cc:

Description

GRIB autotest is failing on epimetheus-full. Could it be an endianness issue ?

It's not obvious that this is the case as memendian.h defines BIG_ENDIAN if WORDS_BIGENDIAN is defined. And WORDS_BIGENDIAN is also used in cpl_port.h to set CPL_MSB.

Change History (2)

comment:1 by warmerdam, 16 years ago

Keywords: macos endian added
Milestone: 1.6.0
Status: newassigned
Version: unspecifiedsvn-trunk

Even,

I'm working on this now on my iBook.

comment:2 by warmerdam, 16 years ago

Resolution: fixed
Status: assignedclosed

I have modified the fileendian.h and memendian.h files to inlucde cpl_port.h to get the WORDS_BIGENDIAN flag. Things pass now.

Note: See TracTickets for help on using tickets.