|
From: | Ken Brown |
Subject: | bug#23640: 25.1.50; Getting rid of compiler warnings |
Date: | Sun, 29 May 2016 18:43:48 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
On 5/28/2016 5:47 PM, Ken Brown wrote:
On 5/28/2016 2:57 PM, Eli Zaretskii wrote:emacs_abort is declared with _Noreturn, so how come GCC doesn't shut up about "unreachable" code?It looks like the problem is the definition of _Noreturn as a macro in config.h. I'll have to figure out what's going on.
That guess was wrong. The problem turns out to be that lint is defined in config.h. When lint is defined, Cygwin's <sys/cdefs.h> defines _Noreturn to be a macro with empty expansion. I've raised the question on the Cygwin list (https://www.cygwin.com/ml/cygwin/2016-05/msg00374.html) as to whether that's a bug.
Ken
[Prev in Thread] | Current Thread | [Next in Thread] |