This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Cliff, >Date: Mon, 14 Feb 2005 16:16:26 -0500 (EST) >From: Cliff Liu <address@hidden> >Organization: NASA >To: Steve Emmerson <address@hidden> >Subject: Re: 20050210: Building udunits on Altix IA64 The above message contained the following: > Please ignore my previous email. I'm not completely sure where > the problem was and Intel doesn't seem to think it's their problem > either. Please see below that the test program compiled without error. > > Cliff > [snip] > > Please send me the output from the following commands: > > > > $ echo '#include <limits.h>' >conftest.c > > $ echo 'int int_max = INT_MAX' >>conftest.c > > $ icc -c conftest.c > > The above generate no errors after I appended ";" to "int...". > > > Also, please send me the file "port/misc/limits.h". > > #cat /usr/local/src/udunits-1.12.2/src/port/misc/limits.h > > [root@thunder cliff]# cat > /usr/local/src/udunits-1.12.2/src/port/misc/limits.h > /* port/misc/limits.h. Generated automatically by configure. */ > /* > * $Id: limits.h.in,v 1.2 1997/01/22 17:16:50 steve Exp $ > */ > > > > > #ifndef UD_limits_h > #define UD_limits_h > > > > > #define UD_SYSTEM_LIMITS_H > "///usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/include/limits.h" OK. Try this: $ echo '#include "///usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/include/limits.h"' >conftest.c $ echo 'int int_max = INT_MAX;' >>conftest.c $ icc -c conftest.c Regards, Steve Emmerson