From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 03 18:30:52 2013 Received: (at submit) by debbugs.gnu.org; 3 Nov 2013 23:30:52 +0000 Received: from localhost ([127.0.0.1]:33212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vd787-0004ZD-Sq for submit@debbugs.gnu.org; Sun, 03 Nov 2013 18:30:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47737) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vd784-0004Yx-R4 for submit@debbugs.gnu.org; Sun, 03 Nov 2013 18:30:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vd77y-0000XP-Jc for submit@debbugs.gnu.org; Sun, 03 Nov 2013 18:30:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vd77y-0000XL-Gq for submit@debbugs.gnu.org; Sun, 03 Nov 2013 18:30:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vd77x-0008Ty-Lu for bug-guile@gnu.org; Sun, 03 Nov 2013 18:30:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vd77w-0000X1-L0 for bug-guile@gnu.org; Sun, 03 Nov 2013 18:30:41 -0500 Received: from mail-oa0-x230.google.com ([2607:f8b0:4003:c02::230]:55085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vd77w-0000Wv-CG for bug-guile@gnu.org; Sun, 03 Nov 2013 18:30:40 -0500 Received: by mail-oa0-f48.google.com with SMTP id m17so6560012oag.35 for ; Sun, 03 Nov 2013 15:30:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KYQsG/wN1gE/hAamjsb29wM0D9aV5XwI2sMP3K5bZws=; b=DAp7fPpyaxgo7SpBEZ5Vl6P0fSLKRuPCSxEbKHR/Sek3BCm57io2VAIzX50r6Q44+F rwawmJAIOYH2YHJnqsgwYJA/QIZy2KAuGrxZO3vpDU6T1/PYJYlUmEh6KYoZdX/TWO77 1xo+13JvS01x8UxXAJrzKMrEKRkVt42Ey1H4ebD4JdbJct1bMwF12Vp1xW9dUozIND5v 1CUMylAzcXVyORNTsIo+hHpZ4eKMDkaNWEaQHZdjuwMSqw9n1jF6L7u/+MxekZiqxp0m 30xwzfbeXSfBSS9H7m7eEY1Y/Z3PEGTBsTS7L2mRDW37JiomAHp/OWurqtXN+QgNCpVX GgPg== MIME-Version: 1.0 X-Received: by 10.60.65.227 with SMTP id a3mr11817244oet.13.1383521439224; Sun, 03 Nov 2013 15:30:39 -0800 (PST) Received: by 10.182.131.102 with HTTP; Sun, 3 Nov 2013 15:30:39 -0800 (PST) Date: Sun, 3 Nov 2013 17:30:39 -0600 Message-ID: Subject: Bad variable name "noreturn" in libguile/throw.h From: Matt Sicker To: bug-guile@gnu.org Content-Type: multipart/alternative; boundary=001a11c25700ec9b1704ea4e2f39 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11c25700ec9b1704ea4e2f39 Content-Type: text/plain; charset=UTF-8 In the function scm_ithrow, the parameter "int noreturn" is given. Now this works fine normally, but if stdnoreturn.h is included before throw.h (or libguile.h more likely), then this causes a compilation error. In throw.c, noreturn is even marked as an unused variable, so this is even more annoying! I recommend using "no_return" to prevent any namespace conflicts. -- Matt Sicker --001a11c25700ec9b1704ea4e2f39 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
In the function scm_ithrow, the parameter "int noretu= rn" is given. Now this works fine normally, but if stdnoreturn.h is in= cluded before throw.h (or libguile.h more likely), then this causes a compi= lation error. In throw.c, noreturn is even marked as an unused variable, so= this is even more annoying! I recommend using "no_return" to pre= vent any namespace conflicts.

--
Matt Sicker <boards@gmail.com>
--001a11c25700ec9b1704ea4e2f39-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 04 19:50:07 2013 Received: (at 15798-done) by debbugs.gnu.org; 5 Nov 2013 00:50:07 +0000 Received: from localhost ([127.0.0.1]:34824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VdUqM-0006Q3-74 for submit@debbugs.gnu.org; Mon, 04 Nov 2013 19:50:06 -0500 Received: from world.peace.net ([96.39.62.75]:33975 ident=hope0) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VdUqJ-0006Pu-Ku for 15798-done@debbugs.gnu.org; Mon, 04 Nov 2013 19:50:04 -0500 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VdUqD-0001xS-9x; Mon, 04 Nov 2013 19:49:57 -0500 From: Mark H Weaver To: Matt Sicker Subject: Re: bug#15798: Bad variable name "noreturn" in libguile/throw.h References: Date: Mon, 04 Nov 2013 19:48:29 -0500 In-Reply-To: (Matt Sicker's message of "Sun, 3 Nov 2013 17:30:39 -0600") Message-ID: <87r4avn06a.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15798-done Cc: 15798-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Matt Sicker writes: > In the function scm_ithrow, the parameter "int noreturn" is given. Now > this works fine normally, but if stdnoreturn.h is included before > throw.h (or libguile.h more likely), then this causes a compilation > error. In throw.c, noreturn is even marked as an unused variable, so > this is even more annoying! I recommend using "no_return" to prevent > any namespace conflicts. Fixed in stable-2.0. Thanks for the report. http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=36c40440078c005cd5e239cca487d29f6f60007d Mark From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 04 20:48:41 2013 Received: (at 15798) by debbugs.gnu.org; 5 Nov 2013 01:48:41 +0000 Received: from localhost ([127.0.0.1]:34848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VdVl3-0007qe-7Q for submit@debbugs.gnu.org; Mon, 04 Nov 2013 20:48:41 -0500 Received: from bromo.med.uc.edu ([129.137.3.146]:53191) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VdVl0-0007qR-KF for 15798@debbugs.gnu.org; Mon, 04 Nov 2013 20:48:39 -0500 Received: from bromo.med.uc.edu (localhost.localdomain [127.0.0.1]) by bromo.med.uc.edu (Postfix) with ESMTP id ABC37B0041; Mon, 4 Nov 2013 20:48:32 -0500 (EST) Received: (from howarth@localhost) by bromo.med.uc.edu (8.14.3/8.14.3/Submit) id rA51mWbo025475; Mon, 4 Nov 2013 20:48:32 -0500 Date: Mon, 4 Nov 2013 20:48:32 -0500 From: Jack Howarth To: 15798@debbugs.gnu.org, mhw@netris.org, boards@gmail.com Subject: Re: bug#15798: Bad variable name "noreturn" in libguile/throw.h Message-ID: <20131105014832.GA25389@bromo.med.uc.edu> References: <87r4avn06a.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87r4avn06a.fsf@netris.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 15798 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Mon, Nov 04, 2013 at 07:48:29PM -0500, Mark H Weaver wrote: > Matt Sicker writes: > > In the function scm_ithrow, the parameter "int noreturn" is given. Now > > this works fine normally, but if stdnoreturn.h is included before > > throw.h (or libguile.h more likely), then this causes a compilation > > error. In throw.c, noreturn is even marked as an unused variable, so > > this is even more annoying! I recommend using "no_return" to prevent > > any namespace conflicts. > > Fixed in stable-2.0. Thanks for the report. > > http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=36c40440078c005cd5e239cca487d29f6f60007d > > Mark > > What is the motivation to change from attribute (noreturn) to attribute (__noreturn__). Xcode 5.0 has /Library/Developer/CommandLineTools/usr/lib/clang/5.0/include/stdnoreturn.h with... /*===---- stdnoreturn.h - Standard header for noreturn macro ---------------=== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * *===-----------------------------------------------------------------------=== */ #ifndef __STDNORETURN_H #define __STDNORETURN_H #define noreturn _Noreturn #define __noreturn_is_defined 1 #endif /* __STDNORETURN_H */ I only see the use of __attribute__((__noreturn__)) in /usr/include/c++/4.2.1/ on darwin13 (aka libstdc++). The /Library/Developer/CommandLineTools/usr/lib/c++/v1 directory for libc++ only shows the usage of __attribute__((noreturn)) and not any usages of __attribute__((__noreturn__)). Jack ps Also see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15807. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 04 21:49:30 2013 Received: (at 15798) by debbugs.gnu.org; 5 Nov 2013 02:49:30 +0000 Received: from localhost ([127.0.0.1]:34866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VdWhu-0000pW-1E for submit@debbugs.gnu.org; Mon, 04 Nov 2013 21:49:30 -0500 Received: from world.peace.net ([96.39.62.75]:34029 ident=hope6) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VdWhs-0000pM-2J for 15798@debbugs.gnu.org; Mon, 04 Nov 2013 21:49:28 -0500 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VdWhi-0002G2-7I; Mon, 04 Nov 2013 21:49:18 -0500 From: Mark H Weaver To: Jack Howarth Subject: Re: bug#15798: Bad variable name "noreturn" in libguile/throw.h References: <87r4avn06a.fsf@netris.org> <20131105014832.GA25389@bromo.med.uc.edu> Date: Mon, 04 Nov 2013 21:47:49 -0500 In-Reply-To: <20131105014832.GA25389@bromo.med.uc.edu> (Jack Howarth's message of "Mon, 4 Nov 2013 20:48:32 -0500") Message-ID: <87mwljmune.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15798 Cc: boards@gmail.com, 15798@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Jack Howarth writes: > On Mon, Nov 04, 2013 at 07:48:29PM -0500, Mark H Weaver wrote: >> Matt Sicker writes: >> > In the function scm_ithrow, the parameter "int noreturn" is given. Now >> > this works fine normally, but if stdnoreturn.h is included before >> > throw.h (or libguile.h more likely), then this causes a compilation >> > error. In throw.c, noreturn is even marked as an unused variable, so >> > this is even more annoying! I recommend using "no_return" to prevent >> > any namespace conflicts. >> >> Fixed in stable-2.0. Thanks for the report. >> >> http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=36c40440078c005cd5e239cca487d29f6f60007d >> >> Mark >> >> > > What is the motivation to change from attribute (noreturn) to attribute (__noreturn__). Xcode 5.0 > has /Library/Developer/CommandLineTools/usr/lib/clang/5.0/include/stdnoreturn.h with... > [...] > > #ifndef __STDNORETURN_H > #define __STDNORETURN_H > > #define noreturn _Noreturn > #define __noreturn_is_defined 1 Yes, and this is a problem. If this file has been included before __scm.h, then I expect that __attribute__((noreturn)) will expand to __attribute__((_Noreturn)) which will most likely fail. That was the motivation for this change. > ps Also see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15807. I will respond to that bug report in a separate message. Mark From unknown Tue Jun 24 06:58:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 03 Dec 2013 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator