GNU bug report logs - #15798
Bad variable name "noreturn" in libguile/throw.h

Previous Next

Package: guile;

Reported by: Matt Sicker <boards <at> gmail.com>

Date: Sun, 3 Nov 2013 23:31:02 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mark H Weaver <mhw <at> netris.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#15798: closed (Bad variable name "noreturn" in libguile/throw.h)
Date: Tue, 05 Nov 2013 00:51:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 04 Nov 2013 19:48:29 -0500
with message-id <87r4avn06a.fsf <at> netris.org>
and subject line Re: bug#15798: Bad variable name "noreturn" in libguile/throw.h
has caused the debbugs.gnu.org bug report #15798,
regarding Bad variable name "noreturn" in libguile/throw.h
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
15798: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15798
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Matt Sicker <boards <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: Bad variable name "noreturn" in libguile/throw.h
Date: Sun, 3 Nov 2013 17:30:39 -0600
[Message part 3 (text/plain, inline)]
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 <boards <at> gmail.com>
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Mark H Weaver <mhw <at> netris.org>
To: Matt Sicker <boards <at> gmail.com>
Cc: 15798-done <at> debbugs.gnu.org
Subject: Re: bug#15798: Bad variable name "noreturn" in libguile/throw.h
Date: Mon, 04 Nov 2013 19:48:29 -0500
Matt Sicker <boards <at> gmail.com> 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


This bug report was last modified 11 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.