* sample guile-2.0 extension in manual
@ 2011-08-05 15:16 Johan Hidding
2012-01-09 15:19 ` Andy Wingo
0 siblings, 1 reply; 2+ messages in thread
From: Johan Hidding @ 2011-08-05 15:16 UTC (permalink / raw)
To: guile-user
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
Hi,
In manual chapter 5.3.1 there is a small example program. Using GCC 4.6,
this only compiles with -fpermissive, unless an explicit
reinterpret_cast<scm_t_subr> (which is an alias for (void *)) is used.
Should this be considered a (minor) bug in the manual?
Cheers, Johan
[-- Attachment #2: Type: text/html, Size: 318 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sample guile-2.0 extension in manual
2011-08-05 15:16 sample guile-2.0 extension in manual Johan Hidding
@ 2012-01-09 15:19 ` Andy Wingo
0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2012-01-09 15:19 UTC (permalink / raw)
To: Johan Hidding; +Cc: guile-user
Hi Johan,
On Fri 05 Aug 2011 17:16, Johan Hidding <johannes.hidding@gmail.com> writes:
> Hi, In manual chapter 5.3.1 there is a small example program. Using
> GCC 4.6, this only compiles with -fpermissive, unless an explicit
> reinterpret_cast<scm_t_subr> (which is an alias for (void *)) is
> used. Should this be considered a (minor) bug in the manual?
I don't think so -- the code is correct C. AFAIK You will only get
errors there if you are compiling with g++, not gcc.
Regards,
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-09 15:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 15:16 sample guile-2.0 extension in manual Johan Hidding
2012-01-09 15:19 ` Andy Wingo
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).