| From: | pgsql-hackers(at)thewrittenword(dot)com |
|---|---|
| To: | pgsql-hackers(at)postgreSQL(dot)org |
| Subject: | Error compiling 6.5.3 on Solaris 2.7/x86 with Sun C compiler 5.0 |
| Date: | 2000-01-04 17:40:44 |
| Message-ID: | 200001041741.LAA18858@postal.thewrittenword.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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(at)thewrittenword(dot)com)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Olivier PRENANT | 2000-01-04 18:07:38 | Re: [BUGS] Date calc bug |
| Previous Message | Don Baccus | 2000-01-04 17:19:03 | Re: [HACKERS] Inprise/Borland releasing Interbase as Open source |