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: Matt Sicker <boards <at> gmail.com>
Subject: bug#15798: closed (Re: bug#15798: Bad variable name "noreturn" in
 libguile/throw.h)
Date: Tue, 05 Nov 2013 00:51:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#15798: Bad variable name "noreturn" in libguile/throw.h

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 15798 <at> debbugs.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: 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

[Message part 3 (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 4 (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 5 (text/html, inline)]

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.