Andreas Barth wrote:
* William Pence ([EMAIL PROTECTED]) [061205 20:49]:
Andreas Barth wrote:
* William Pence ([EMAIL PROTECTED]) [061113 12:08]:
Note one additional change is necessary in the diffs shown below in the
ARM case: if BYTESWAPPED is TRUE, then MACHINE should not be defined.
(In particular, it should not be defined as NATIVE). If BTYPESWAPPED is
FALSE, then it would not hurt to also define MACHINE == NATIVE, but this
is not critical.
Currently, on arm, these definitions are used:
#undef MACHINE
#define BYTESWAPPED TRUE
However, having MACHINE undefined for arm breaks the compilation of
putcold.c
at:
if (scale == 1. && zero == 0. &&
MACHINE == NATIVE && tcode == TDOUBLE)
{
To what should I set MACHINE
This should work:
#define MACHINE OTHERTYPE
At least in the package I use (version 2.510), this doesn't work. In the
version 3-package, the fix already worked.
OK, I forgot that 'OTHERTYPE' was not defined in v2.5x. So, instead,
define MACHINE to be any integer greater than 7:
#define MACHINE 10
However, I don't see much point in continuing to support v2.510. It is
now more than 2 years old, and the "changes.txt" file lists more than 80
significant enhancements and bug fixes that have been made to CFITSIO
since then.
Bill Pence
--
____________________________________________________________________
Dr. William Pence [EMAIL PROTECTED]
NASA/GSFC Code 662 HEASARC +1-301-286-4599 (voice)
Greenbelt MD 20771 +1-301-286-1684 (fax)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]