defmacro* and defmacro*-public in master

2009-12-18 Thread Tristan Colgate
[I sent this before subscribing but it hasn't turned up so I'm resending now, sorry if the previous posting reappears some time later] Hi Guys, Are defmacro* and friends supposed to work in current master? I've got some code that works under 1.8 but fails on master. I checked the trivial example

Re: Compilation and load-extension

2009-12-18 Thread Tristan Colgate
yes, swig generates snmp/net-snmp.scm with the following header... (define-module (snmp net-snmp)) (load-extension "libguile_snmp_net-snmp.so" "scm_init_snmp_net_snmp_module") (use-modules (oop goops) (Swig common)) (use-modules ((snmp net-snmp-primitive) :renamer (symbol-prefix-proc 'primitive:

Re: Compilation and load-extension

2009-12-18 Thread Ludovic Courtès
Hi, Tristan Colgate writes: > Ah, sorry > > ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 > ;;; or pass the --no-autocompile argument to disable. > ;;; compiling /usr/local/share/guile/site/snmp/net-snmp.scm > ;;; WARNING: compilation of > /usr/local/share/guile/site/s

Re: Compilation and load-extension

2009-12-18 Thread Tristan Colgate
Ah, sorry ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-autocompile argument to disable. ;;; compiling /usr/local/share/guile/site/snmp/net-snmp.scm ;;; WARNING: compilation of /usr/local/share/guile/site/snmp/net-snmp.scm failed: ;;; key misc-error,

Re: Compilation and load-extension

2009-12-18 Thread Ludovic Courtès
Hi, Tristan Colgate writes: > I'm using guile and swig for some library binding and get > compilation errors/warning > that seem to be due to the compiler not knowing that a load-extension > has supplied > a module (this is with library bindings generated by swig). Can you copy/paste the erro

Compilation and load-extension

2009-12-18 Thread Tristan Colgate
Hi All, I'm using guile and swig for some library binding and get compilation errors/warning that seem to be due to the compiler not knowing that a load-extension has supplied a module (this is with library bindings generated by swig). Is there a way to get rid of the warnings (other then tur