Print

Print


On Mon, Jun 4, 2012 at 9:00 PM, Tim Jenness <[log in to unmask]> wrote:
> Commit summary from repository starlink
> ------------------------------------
>
>  (Peter W. Draper) gaia: missing build changes for gaia3d 64 bit
>   100.0% applications/gaia/gaia3d/
>

Peter,

  Thanks for the GAIA updates.

Had a go with the new gaia but get an error on my mac. I did do a
rebuild of skycat (which seems to have a modified file after the
build, bizarrely in skycat/linux/skycat.spec).

g++-4.2 -g -O2  -DHAVE_CONFIG_H  -I. -I./generic -I./bitmaps
-I/star/include/skycat -I/star/include/rtd -I/star/include/cat
-I/star/include/astrotcl -I/star/include/tclutil -I"/star/include"
-Os  -fno-common -g -O2 -c `echo ./generic/GaiaFITS.C` -o GaiaFITS.o
In file included from ./generic/StarFitsIO.h:52,
                 from ./generic/GaiaFITS.C:54:
/star/include/astrotcl/Fits_IO.h:171: error: ‘int FitsIO::get(const
char*, LONGLONG&) const’ cannot be overloaded
/star/include/astrotcl/Fits_IO.h:170: error: with ‘int
FitsIO::get(const char*, long int&) const’
./generic/GaiaFITS.C: In function ‘int GaiaFITSCreate(const char*,
void*, AstFrameSet*, int, double, double, long int, const char*, const
char*, int, long int*)’:
./generic/GaiaFITS.C:296: warning: deprecated conversion from string
constant to ‘char*’
./generic/GaiaFITS.C:296: warning: deprecated conversion from string
constant to ‘char*’
./generic/GaiaFITS.C:300: warning: deprecated conversion from string
constant to ‘char*’
./generic/GaiaFITS.C:300: warning: deprecated conversion from string
constant to ‘char*’
./generic/GaiaFITS.C:306: warning: deprecated conversion from string
constant to ‘char*’
./generic/GaiaFITS.C:306: warning: deprecated conversion from string
constant to ‘char*’
./generic/GaiaFITS.C:308: warning: deprecated conversion from string
constant to ‘char*’
./generic/GaiaFITS.C:308: warning: deprecated conversion from string
constant to ‘char*’
./generic/GaiaFITS.C:310: warning: deprecated conversion from string
constant to ‘char*’
./generic/GaiaFITS.C:310: warning: deprecated conversion from string
constant to ‘char*’

My gaia/config.h defines INT64 as a long long.

BTW int64_t should exist on modern systems and should probably be the
first 64-bit type attempted.

-- 
Tim Jenness