unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#15798: Bad variable name "noreturn" in libguile/throw.h
@ 2013-11-03 23:30 Matt Sicker
  2013-11-05  0:48 ` Mark H Weaver
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Sicker @ 2013-11-03 23:30 UTC (permalink / raw)
  To: 15798

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

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@gmail.com>

[-- Attachment #2: Type: text/html, Size: 542 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-05  2:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-03 23:30 bug#15798: Bad variable name "noreturn" in libguile/throw.h Matt Sicker
2013-11-05  0:48 ` Mark H Weaver
2013-11-05  1:48   ` Jack Howarth
2013-11-05  2:47     ` Mark H Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).