Hi Ludo

2009/11/17 Ludovic Courtès <l...@gnu.org>:
> We are pleased to announce GNU Guile release 1.9.5.

I just tried 1.9.5 today, and am getting compile errors in
my app, which I did not get in 1.8.6 or 1.9.0 :

error: non-local function ‘static<anonymous struct>*
opencog::SchemeSmob::ss_incoming_set(<anonymous struct>*)’ uses
anonymous type

and zillions of others.

The following reproduces the bug:

#include <libguile.h>

class SchemeSmob
{
   private:

      static SCM ss_incoming_set(SCM);

      static void init(void);
   public:
      SchemeSmob(void);

};

#define C(X) ((SCM (*) ()) X)

void SchemeSmob::init(void)
{
   scm_c_define_gsubr("cog-incoming-set",      1, 0, 0, C(ss_incoming_set));
}

compiled without any flags....

Again, above compiles fine with 1.8.6 and I think it compiled
with 1.9.0, not sure.

--linas


Reply via email to