X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4D491629.7050907@sh.cvut.cz> Date: Wed, 02 Feb 2011 09:30:33 +0100 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: err.h declarations not marked noreturn. References: <201102011259 DOT 53193 DOT rusty AT rustcorp DOT com DOT au> <201102020911 DOT 31282 DOT rusty AT rustcorp DOT com DOT au> <4D489B12 DOT 4080807 AT redhat DOT com> In-Reply-To: <4D489B12.4080807@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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