Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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
netcdfgroup
archives: