Guile and Lily

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Guile and Lily

Erlend Aasland
Hello,

I've compiled and installed guile-1.8 + rational patch, and I'm now trying to compile Lily against this. All is fine until the build-system reach the lily/ subdir:

accidental-placement.cc: In function 'void Accidental_placement_calc_positioning_done_init_functions()':
accidental-placement.cc:246: error: invalid conversion from 'scm_unused_struct* (*)()' to 'scm_unused_struct* (*)(...)'
accidental-placement.cc:246: error:   initializing argument 5 of 'scm_unused_struct* scm_c_define_gsubr(const char*, int, int, int, scm_unused_struct* (*)(...))'
make[1]: *** [out/accidental-placement.o] Error 1
make: *** [all] Error 2


Any ideas?

In the meantime I'll try to build against guile-cvs and see if that helps...


Regards,
  Erlend

_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: Guile and Lily

Erlend Aasland
Hmmm, can it be related to this:

lily/include/lily-guile.hh:

/*
  Hack for various MacOS incarnations.
 */
#ifndef GUILE_ELLIPSIS
#define GUILE_ELLIPSIS
#endif


Forgot to mention that I'm on MacOSX 10.4.8...


Erlend

On 1/18/07, Erlend Aasland <[hidden email]> wrote:
Hello,

I've compiled and installed guile-1.8 + rational patch, and I'm now trying to compile Lily against this. All is fine until the build-system reach the lily/ subdir:

accidental-placement.cc: In function 'void Accidental_placement_calc_positioning_done_init_functions()':
accidental-placement.cc:246: error: invalid conversion from 'scm_unused_struct* (*)()' to 'scm_unused_struct* (*)(...)'
accidental-placement.cc:246: error:   initializing argument 5 of 'scm_unused_struct* scm_c_define_gsubr(const char*, int, int, int, scm_unused_struct* (*)(...))'
make[1]: *** [out/accidental-placement.o] Error 1
make: *** [all] Error 2


Any ideas?

In the meantime I'll try to build against guile-cvs and see if that helps...


Regards,
  Erlend


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: Guile and Lily

Han-Wen Nienhuys-2
Erlend Aasland escreveu:

> Hmmm, can it be related to this:
>
> lily/include/lily-guile.hh:
>
> /*
>   Hack for various MacOS incarnations.
>  */
> #ifndef GUILE_ELLIPSIS
> #define GUILE_ELLIPSIS
> #endif
>
>
> Forgot to mention that I'm on MacOSX 10.4.8...
>
>

yes, try

 #define GUILE_ELLIPSIS ...


--

Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: Guile and Lily

Erlend Aasland
In reply to this post by Erlend Aasland
Ok, compiled successfully with this change:

diff --git a/lily/include/lily-guile.hh b/lily/include/lily-guile.hh
index 6eef555..d9387cb 100644
--- a/lily/include/lily-guile.hh
+++ b/lily/include/lily-guile.hh
@@ -20,7 +20,7 @@
   Hack for various MacOS incarnations.
  */
 #ifndef GUILE_ELLIPSIS
-#define GUILE_ELLIPSIS
+#define GUILE_ELLIPSIS ...
 #endif
 
 #include "guile-compatibility.hh"


Erlend

On 1/18/07, Erlend Aasland <[hidden email]> wrote:
Hmmm, can it be related to this:

lily/include/lily-guile.hh:

/*
  Hack for various MacOS incarnations.
 */
#ifndef GUILE_ELLIPSIS
#define GUILE_ELLIPSIS
#endif


Forgot to mention that I'm on MacOSX 10.4.8...


Erlend


On 1/18/07, Erlend Aasland <[hidden email]> wrote:
Hello,

I've compiled and installed guile-1.8 + rational patch, and I'm now trying to compile Lily against this. All is fine until the build-system reach the lily/ subdir:

accidental-placement.cc: In function 'void Accidental_placement_calc_positioning_done_init_functions()':
accidental-placement.cc:246: error: invalid conversion from 'scm_unused_struct* (*)()' to 'scm_unused_struct* (*)(...)'
accidental-placement.cc:246: error:   initializing argument 5 of 'scm_unused_struct* scm_c_define_gsubr(const char*, int, int, int, scm_unused_struct* (*)(...))'
make[1]: *** [out/accidental-placement.o] Error 1
make: *** [all] Error 2


Any ideas?

In the meantime I'll try to build against guile-cvs and see if that helps...


Regards,
  Erlend



_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel