| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] [PATCH] Suppress Clang 3.9 warnings |
| Дата | |
| Msg-id | 2872.1489589835@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] [PATCH] Suppress Clang 3.9 warnings (Noah Misch <noah@leadboat.com>) |
| Ответы |
Re: [HACKERS] [PATCH] Suppress Clang 3.9 warnings
|
| Список | pgsql-hackers |
Noah Misch <noah@leadboat.com> writes:
> On Mon, Mar 13, 2017 at 06:35:53PM +0300, Aleksander Alekseev wrote:
>> + * Unfortunately in case of strlcat and strlcpy we can't trust tests
>> + * executed by Autotools if Clang > 3.6 is used.
> This is wrong on platforms that do have strlcpy() in libc.
Didn't you submit a patch to upstream autoconf awhile ago to fix the
AC_CHECK_DECLS test for this? Seems like the correct solution is to
absorb that fix, either by updating to a newer autoconf release or by
carrying our own version of AC_CHECK_DECLS until they come out with one.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера