On Sat, Jun 16, 2018 at 09:12:08PM +0800, Andy Green wrote:
>
>
> On June 16, 2018 9:04:48 PM GMT+08:00, John Keeping
> wrote:
> >On Wed, Jun 13, 2018 at 07:33:59AM +0800, Andy Green wrote:
> >> These warnings are coming on default Fedora 28 build and probably
> >others using gcc 8.1
> >>
>
On June 16, 2018 9:04:48 PM GMT+08:00, John Keeping wrote:
>On Wed, Jun 13, 2018 at 07:33:59AM +0800, Andy Green wrote:
>> These warnings are coming on default Fedora 28 build and probably
>others using gcc 8.1
>>
>> ../shared.c: In function ‘expand_macro’:
>> ../shared.c:483:3: warning:
On Wed, Jun 13, 2018 at 07:33:59AM +0800, Andy Green wrote:
> These warnings are coming on default Fedora 28 build and probably others
> using gcc 8.1
>
> ../shared.c: In function ‘expand_macro’:
> ../shared.c:483:3: warning: ‘strncpy’ specified bound depends on the length
> of the source
These warnings are coming on default Fedora 28 build and probably others using
gcc 8.1
../shared.c: In function ‘expand_macro’:
../shared.c:483:3: warning: ‘strncpy’ specified bound depends on the length of
the source argument [-Wstringop-overflow=]
strncpy(name, value, len);