Opened 20 years ago

Last modified 20 years ago

#431 closed defect (fixed)

compile fails on debian for arm and powerpc

Reported by: alessandro_amici@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

compile of cvs fails on debian (archs arm and powerpc) with:

g++ -I../../port -I../../gcore -I../../ogr -I/usr/include/hdf -Wall -O2 -c hdf4dataset.cpp  -fPIC -DPIC -o ../o/.libs/hdf4dataset.o
hdf4dataset.cpp: In member function `char** 
   HDF4Dataset::TranslateHDF4Attributes(long int, long int, char*, long int, 
   long int, char**)':
hdf4dataset.cpp:763: error: invalid conversion from `int8*' to `const char*'
hdf4dataset.cpp:766: error: invalid conversion from `int8*' to `const char*'
make[3]: *** [../o/hdf4dataset.o] Error 1

i had a look at the code and i saw no reson for pbData to be int8*
instead of char*, but i don't know the driver at all so i'll won't
risk to fix it myself.

Alessandro

Change History (1)

comment:1 by warmerdam, 20 years ago

Alessandro, 

I have committed a fix for this, but I can't test it directly. 

Best regards,

Note: See TracTickets for help on using tickets.