Обсуждение: Build problems on Solaris 7 Intel.

Поиск
Список
Период
Сортировка

Build problems on Solaris 7 Intel.

От
Ian Collins
Дата:
When building 7.0 with Sun CC and cc, the build files with
backend/utils/adt/date.c due to a
bad defintion of the macro NAN, defined in include/port/solaris_i386.h.

__const is unknown and if removed, __nan is undefined.

One workarround is to remove the macro, but is this safe?

    Ian



Re: Build problems on Solaris 7 Intel.

От
Peter Eisentraut
Дата:
Ian Collins writes:

> When building 7.0 with Sun CC and cc, the build files with
> backend/utils/adt/date.c due to a
> bad defintion of the macro NAN, defined in include/port/solaris_i386.h.
>
> __const is unknown and if removed, __nan is undefined.
>
> One workarround is to remove the macro, but is this safe?

Change `__const' to `const' and let us know if it works.

--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden