Compilation issue on Solaris. - Mailing list pgsql-hackers

From Ibrar Ahmed
Subject Compilation issue on Solaris.
Date
Msg-id CALtqXTe9p2Jr1xbz7g591=UcAaFD+bZc7j7jRqMYLXe8vKQHyA@mail.gmail.com
Whole thread Raw
In response to Re: doc: array_length produces null instead of 0  (Aleksander Alekseev <aleksander@timescale.com>)
Responses Re: Compilation issue on Solaris.
List 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
Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: doc: Move enum storage commentary to top of section
Next
From: Tom Lane
Date:
Subject: Re: Compilation issue on Solaris.