bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc 6.1.1 compilation error due to -Werror=null-dereference in obsta


From: Paul Eggert
Subject: Re: gcc 6.1.1 compilation error due to -Werror=null-dereference in obstack.c
Date: Fri, 15 Jul 2016 12:17:51 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 07/15/2016 01:44 AM, Assaf Gordon wrote:
Possibly due to GCC not understanding that if 'new_chunk' is NULL and 
'obstack_alloc_failed_handler' is called, it won't return (in obstack.c:202).


Yes, that's it. Arrgggh, _Noreturn doesn't address this problem. So I installed the attached instead.

Attachment: 0001-obstack-pacify-GCC-6-with-Wnull-dereference.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]