err.h declarations not marked noreturn.
Václav Haisman
v.haisman@sh.cvut.cz
Wed Feb 2 08:30:00 GMT 2011
-----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
More information about the Cygwin
mailing list