On Tue, Jun 5, 2012 at 1:37 AM, Peter W. Draper <[log in to unmask]> wrote:
> On Mon, 4 Jun 2012, Tim Jenness wrote:
>
>> 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’
>>
>> My gaia/config.h defines INT64 as a long long.
>
> This looks like a problem with Skycat (missing a FitsIO::get version).
> Can you make sure that you completely clean out the module and that it is
> at the correct version (head should be 99c6798dfd).
>
I was up to date and if I run up skycat-star it is version 3.1.2.
> A build under OS X worked for me.
>
lion or snow leopard? I have disabled all my CFLAGS tweaking (it
breaks much earlier if I do that and clang++ is a disaster)
The warnings about string conversion seem to be caused by skycat
coming with a private and ancient fitsio.h (in the astrotcl tree).
I don't really follow why it's complaining.
166 // find and set value for the given FITS keyword and
return 0 if OK (found)
167 int get(const char* keyword, double& val) const;
168 int get(const char* keyword, float& val) const;
169 int get(const char* keyword, int& val) const;
170 int get(const char* keyword, long& val) const;
171 int get(const char* keyword, LONGLONG& val) const;
172 int get(const char* keyword, unsigned char& val) const;
173 int get(const char* keyword, unsigned short& val) const;
174 int get(const char* keyword, short& val) const;
--
Tim Jenness
|