[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot convert `SCM (*)()' to `SCM (*)(...)'
From: |
Rodrigo |
Subject: |
Re: cannot convert `SCM (*)()' to `SCM (*)(...)' |
Date: |
Wed, 25 Sep 2002 21:28:22 -0300 |
I'm using 1.6.4 now ...
bash-2.03$ make all
<skip>
auto-beam-engraver.cc:493:19: warning: multi-line string literals are
deprecated
rm -f ./out/auto-change-iterator.dep;
DEPENDENCIES_OUTPUT="./out/auto-change-iterator.dep
./out/auto-change-iterator.o" c++ -c -Dc
auto-change-iterator.cc: In function `void
Auto_change_iteratorconstructorinit()':
auto-change-iterator.cc:145: cannot convert `SCM (*)()' to `SCM (*)(...)' for
argument `5' to `SCM scm_make_gsubr(const char*, int, int, int, SCM
(*)(...))'
make[1]: *** [out/auto-change-iterator.o] Error 1
make[1]: Leaving directory `/var/home/users/rodrigo/lilypond-1.6.4/lily'
make: *** [all] Error 2
bash-2.03$ guile --version
Guile 1.4.1
Copyright (c) 1995, 1996, 1997, 2000, 2002 Free Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well. For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.
bash-2.03$ gcc --version
3.0.3
bash-2.03$
Tks,
Rodrigo
PS: Before this error I had another ...
In file included from include/string-data.hh:90,
from include/string-handle.icc:16,
from include/string-handle.hh:66,
from include/string.hh:25,
from axis.cc:11:
include/string-data.icc: In member function `void String_data::set(const
char*)':
include/string-data.icc:126: `strlen' undeclared (first use this function)
include/string-data.icc:126: (Each undeclared identifier is reported only once
for each function it appears in.)
make[1]: *** [out/axis.o] Error 1
make[1]: Leaving directory `/var/home/users/rodrigo/lilypond-1.6.4/flower'
make: *** [all] Error 2
I included the line #include <string.h> in ./flower/include/string-data.icc
and it seems to have corrected.
At 23:23 25/09/2002 +0200, Han-Wen Nienhuys wrote:
address@hidden writes:
> This is the line 34 of cxx-function-smob.cc
>
> LY_DEFINE(cxx_function_type, "c++-function?", 1, 0, 0, (SCM x),
> "Is this an encapsulated C++ function ?")
>
> Any idea ?
What version of GCC? What version of GUILE?
BTW, you might want to try 1.6.4 -- not that it will compile any easier,
but it fixes a couple of other bugs.
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen