* Problems compiling code with CVS guile
@ 2002-11-28 17:57 rm
2002-12-04 2:43 ` Rob Browning
0 siblings, 1 reply; 3+ messages in thread
From: rm @ 2002-11-28 17:57 UTC (permalink / raw)
Hello list,
i seem to have problems compiling code with the latest
CVS co of guile-core. Here follows the compiler warnings:
/usr/local/include/libguile/inline.h:78: syntax error before `SCM'
/usr/local/include/libguile/inline.h:158: syntax error before `SCM'
/usr/local/include/libguile/inline.h: In function `scm_double_cell':
/usr/local/include/libguile/inline.h:227: `asm' undeclared (first use in this function)
/usr/local/include/libguile/inline.h:227: (Each undeclared identifier is reported only once
/usr/local/include/libguile/inline.h:227: for each function it appears in.)
/usr/local/include/libguile/inline.h:227: parse error before `volatile'
....
Here's a cpp dump of the relevant header file:
$ gcc -I /usr/local/include/ -E /usr/local/include/libguile/inline.h
extern SCM scm_cell (scm_t_bits car, scm_t_bits cdr);
extern SCM scm_double_cell (scm_t_bits car, scm_t_bits cbr,
scm_t_bits ccr, scm_t_bits cdr);
extern unsigned scm_newcell2_count;
extern unsigned scm_newcell_count;
extern inline
SCM
scm_cell (scm_t_bits car, scm_t_bits cdr)
{
SCM z;
.......
Any ideas where or what to look for?
tia Ralf Mattes
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems compiling code with CVS guile
2002-11-28 17:57 Problems compiling code with CVS guile rm
@ 2002-12-04 2:43 ` Rob Browning
2003-03-06 15:16 ` rm
0 siblings, 1 reply; 3+ messages in thread
From: Rob Browning @ 2002-12-04 2:43 UTC (permalink / raw)
Cc: guile-devel
rm@fabula.de writes:
> i seem to have problems compiling code with the latest
> CVS co of guile-core. Here follows the compiler warnings:
Did you figure this out?
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems compiling code with CVS guile
2002-12-04 2:43 ` Rob Browning
@ 2003-03-06 15:16 ` rm
0 siblings, 0 replies; 3+ messages in thread
From: rm @ 2003-03-06 15:16 UTC (permalink / raw)
Cc: rm
On Tue, Dec 03, 2002 at 08:43:19PM -0600, Rob Browning wrote:
> rm@fabula.de writes:
>
> > i seem to have problems compiling code with the latest
> > CVS co of guile-core. Here follows the compiler warnings:
>
> Did you figure this out?
Yes ;-)
Sorry for the really late answer (i thought i mailed it out but couldn't
find the posting in the archives -- i'm getting old).
These warnings/compile errors show up depending on the compiler
flags used (this is for gcc):
-pedantic:
| /usr/local/include/libguile/inline.h:77: warning: ANSI does not permit the keyword `inline'
| /usr/local/include/libguile/inline.h:157: warning: ANSI does not permit the keyword `inline'
| /usr/local/include/libguile/inline.h: In function `scm_double_cell':
| /usr/local/include/libguile/inline.h:227: warning: ANSI does not permit the keyword `asm'
-ansi:
| /usr/local/include/libguile/threads.h:150: warning: `struct timespec' declared inside parameter list
| /usr/local/include/libguile/threads.h:150: warning: its scope is only this definition or declaration, which is probably not what you want.
| In file included from /usr/local/include/libguile.h:133,
| from neon.c:21:
| /usr/local/include/libguile/inline.h:78: syntax error before `SCM'
| make[2]: *** [neon.lo] Error 1
some of the libraries i created bindings for have configuration scripts/m4-acros
that emit these compiler switches.
hth and thanks for the great work
Ralf Mattes
> Rob Browning
> rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
> Previously @cs.utexas.edu
> GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-06 15:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-28 17:57 Problems compiling code with CVS guile rm
2002-12-04 2:43 ` Rob Browning
2003-03-06 15:16 ` rm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).