This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Compile Error, take 2
- To: Michael Livshin <mlivshin at bigfoot dot com>
- Subject: Re: Compile Error, take 2
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 10 Apr 2000 22:35:32 +0200
- Cc: Tal Tversky <tal at cs dot utexas dot edu>, guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <14577.64941.187870.127469@wensleydale.cs.utexas.edu> <s3bt3hhqfz.fsf@bigfoot.com>
Michael Livshin <mlivshin@bigfoot.com> writes:
> Tal Tversky <tal@cs.utexas.edu> writes:
>
> > For some reason g++ doesn't like seeing two extern declarations for
> > the same function (one in __scm.h, the other in objects.h), even
> > though they are identical.
>
> it doesn't sound like g++ does the right thing here.
In any case: Guile shouldn't declare a function twice.
2000-04-10 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* objects.h: Don't redeclare scm_call_generic_0 and
scm_apply_generic. (Thanks to Tal Tversky.)
(couldn't resist. :)