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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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 2 (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.