songoku:/opt/build/postgresql-6.5.3/src/backend/utils/adt% gmake
cc -I../../../include -I../../../backend   -I/opt/TWWfsw/tcl81/include
-I/opt/TWWfsw/tk81/include -I/opt/TWWfsw/readline/include  -I../..
-c -o date.o date.c
"date.c", line 153: warning: statement not reached
"date.c", line 372: undefined symbol: __const
"date.c", line 372: syntax error before or at: double
cc: acomp failed for date.c
gmake: *** [date.o] Error 2

The Sun C compiler doesn't like the definition of NAN in
src/include/port/solaris_i386.h:
#define                            NAN     (*(__const double *) __nan)

Is there a danger of removing this line? Should it be changed to
something else?

-- 
albert chin (china@thewrittenword.com)


Tue, 4 Jan 2000 11:40:44 -0600 (CST)
pgsql-hackers@thewrittenword.com
Error compiling 6.5.3 on Solaris 2.7/x86 with Sun C compiler 5.0