From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net> |
Subject: | Re: clang warning on master |
Date: | 2014-08-29 18:03:03 |
Message-ID: | 23050.1409335383@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> I see a lot of warnings
> [pavel(at)localhost postgresql]$ make all | grep warning
> exec.c:280:2: warning: implicitly declaring library function 'strlcpy' with
> type 'unsigned long (char *, const char *, unsigned long)'
> strlcpy(link_buf, fname, sizeof(link_buf));
> ^
> exec.c:280:2: note: please include the header <string.h> or explicitly
> provide a declaration for 'strlcpy'
> 1 warning generated.
[ raised eyebrow... ] exec.c certainly includes <string.h> already
(via c.h). I think you should complain to your compiler vendor.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2014-08-29 18:12:16 | Re: On partitioning |
Previous Message | Tom Lane | 2014-08-29 17:56:52 | Re: On partitioning |