Re: Guile, C++, and Mac OS X 10.4 (powerpc)

2010-08-18 Thread Hans Aberg
On 18 Aug 2010, at 15:49, Ludovic Courtès wrote: Hey guile users, Trying to compile the simple example bessel.c from Writing-Guile-Extensions.html (renamed bessel.cc because I'm using g+ +), I encountered the following error: bessel.cc: In function 'void init_bessel()': bessel.cc:13: error: i

Re: Guile, C++, and Mac OS X 10.4 (powerpc)

2010-08-18 Thread Ludovic Courtès
Hi, Hans Aberg writes: > On 28 Jul 2010, at 21:49, Mike Solomon wrote: > >> Hey guile users, >>Trying to compile the simple example bessel.c from >> Writing-Guile-Extensions.html (renamed bessel.cc because I'm using >> g+ >> +), I >> encountered the following error: >> >> bessel.cc: In funct

Re: Guile, C++, and Mac OS X 10.4 (powerpc)

2010-07-29 Thread Linas Vepstas
On 29 July 2010 03:04, Mike Solomon wrote: > > Hope this helps the fledgling C++ programmer using guile! If anyone is interested, I have a C++ template class that is analogous to scm_c_define_gsubr for object methods (and calls scm_c_define_gsubr under the covers) One just says: MyTestClas

Re: Guile, C++, and Mac OS X 10.4 (powerpc)

2010-07-29 Thread Mike Solomon
Dear Hans, Thank you very much for your response. I'm including here some stuff I did (a sort of c++ to c and back again) in hopes that it may be useful to others trying to do the same thing. Asterisk delimiters mean a new file, whose name is in the first comment. *** //bessel-extension.h #

Re: Guile, C++, and Mac OS X 10.4 (powerpc)

2010-07-28 Thread Hans Aberg
On 28 Jul 2010, at 21:49, Mike Solomon wrote: Hey guile users, Trying to compile the simple example bessel.c from Writing-Guile-Extensions.html (renamed bessel.cc because I'm using g+ +), I encountered the following error: bessel.cc: In function 'void init_bessel()': bessel.cc:13: error: i