XDR on DEC Alpha-VMS machines

To anyone interested:

older versions of the DEC C compiler had a bug that made it impossible to
initialize bit fields that fall on word boundaries. The XDRFLOAT program
initializes all of the 32 bits for the floating point conversion. When you try
to compile it, you get a stack dump and a very nasty error.

DEC has fixed the bug and DEC C compilers version X1.3-009-266m (22-JUL-93) or
later should not have this problem. In particular, the new version currently
being shipped is certainly free of this bug.

Of course, if compiling the product under AXP, don't forget to change
XDRFLOAT's "ifdef vax" statements to "if defined(vax) || (__ALPHA)" and compile
with the /NOMEMBER_ALLIGNEMENT switch.

Happy networking,
                Valerio Luccio 


  • 1994 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: