This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: err.h declarations not marked noreturn.
- From: VÃclav Haisman <v dot haisman at sh dot cvut dot cz>
- To: cygwin at cygwin dot com
- Date: Wed, 02 Feb 2011 09:30:33 +0100
- Subject: Re: err.h declarations not marked noreturn.
- References: <AANLkTimhvza1E0bj7EmBURK+Sc22R9x265sjLdVxeNAw@mail.gmail.com> <201102011259.53193.rusty@rustcorp.com.au> <AANLkTimViNGmPH0q8h1gASOYiD1mYqowDRJTecAbx+1O@mail.gmail.com> <201102020911.31282.rusty@rustcorp.com.au> <4D489B12.4080807@redhat.com>
- Reply-to: cygwin at cygwin dot com
-----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() but
> lacks the glibc interface error() from "error.h", even though both
> interfaces are equally non-standard, and cygwin strives more for Linux
> compatibility. But that's besides the point.
It should not be surprising. Cygwin strives to be Linux compatbile using
source code from *BSD systems. Implementation of err() can just be copied
from *BSD. The GNU stuff has to be implemented from scratch, if I understand
the lincense correctly.
>[...]
- --
VH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iF4EAREIAAYFAk1JFikACgkQeqrf2dJjGj46tgD/XjOchRFz1bs2SdBFSvLsASmD
Mgg9KNnBqLTtclj1i/8A/i3puCnHek6RtDiMBi2otJk+bP0wBsjx0nKwyaz+mYEF
=xYk0
-----END PGP SIGNATURE-----
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple