Error compiling 6.5.3 on Solaris 2.7/x86 with Sun C compiler 5.0

Поиск
Список
Период
Сортировка
От pgsql-hackers@thewrittenword.com
Тема Error compiling 6.5.3 on Solaris 2.7/x86 with Sun C compiler 5.0
Дата
Msg-id 200001041741.LAA18858@postal.thewrittenword.com
обсуждение исходный текст
Список 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@thewrittenword.com)



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] Inprise/Borland releasing Interbase as Opensource
Следующее
От: Olivier PRENANT
Дата:
Сообщение: Re: [BUGS] Date calc bug