Re: err.h declarations not marked noreturn.

2011-02-02 Thread Corinna Vinschen
On Feb 2 10:58, Corinna Vinschen wrote: > On Feb 1 16:45, Eric Blake wrote: > > On 02/01/2011 03:41 PM, Rusty Russell wrote: > > > OK, your /usr/include/err.h doesn't have the annotations to tell gcc that > > > it > > > doesn't return. > > > > I'm a bit surprised that cygwin provides the BSD in

Re: err.h declarations not marked noreturn.

2011-02-02 Thread Corinna Vinschen
On Feb 1 16:45, Eric Blake wrote: > On 02/01/2011 03:41 PM, Rusty Russell wrote: > > OK, your /usr/include/err.h doesn't have the annotations to tell gcc that it > > doesn't return. > > I'm a bit surprised that cygwin provides the BSD interface err() but > lacks the glibc interface error() from "

Re: err.h declarations not marked noreturn.

2011-02-02 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric Blake wrote, On 2.2.2011 0:45: > On 02/01/2011 03:41 PM, Rusty Russell wrote: >> OK, your /usr/include/err.h doesn't have the annotations to tell gcc that it >> doesn't return. > > I'm a bit surprised that cygwin provides the BSD interface err(

Re: err.h declarations not marked noreturn.

2011-02-01 Thread Eric Blake
On 02/01/2011 03:41 PM, Rusty Russell wrote: > OK, your /usr/include/err.h doesn't have the annotations to tell gcc that it > doesn't return. I'm a bit surprised that cygwin provides the BSD interface err() but lacks the glibc interface error() from "error.h", even though both interfaces are equal

err.h declarations not marked noreturn.

2011-02-01 Thread Rusty Russell
On Wed, 2 Feb 2011 01:56:44 am Reini Urban wrote: > 2011/2/1 Rusty Russell : > > On Mon, 31 Jan 2011 11:41:33 pm Reini Urban wrote: > >> gcc-4.3.4 cygwin ... > > Can you send me (privately) the output of gcc -E on that file? That > > should tell me for sure. A ccan/err module might be a good star