Compilation issue on Solaris.

Поиск
Список
Период
Сортировка
От Ibrar Ahmed
Тема Compilation issue on Solaris.
Дата
Msg-id CALtqXTe9p2Jr1xbz7g591=UcAaFD+bZc7j7jRqMYLXe8vKQHyA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: doc: array_length produces null instead of 0  (Aleksander Alekseev <aleksander@timescale.com>)
Ответы Re: Compilation issue on Solaris.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

While compiling the PostgreSQL I have found that memset_s function requires a define "__STDC_WANT_LIB_EXT1__

explicit_bzero.c: In function ‘explicit_bzero’:

explicit_bzero.c:23:9: warning: implicit declaration of function ‘memset_s’; did you mean ‘memset’? [-Wimplicit-function-declaration]

  (void) memset_s(buf, len, 0, len);

         ^~~~~~~~


Attached is the patch to define that in the case of Solaris.


--
Ibrar Ahmed
Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: doc: Move enum storage commentary to top of section
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Compilation issue on Solaris.