unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* CVS build warning
@ 2004-03-31 17:58 Jan Nieuwenhuizen
  2004-05-10 21:47 ` Marius Vollmer
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Nieuwenhuizen @ 2004-03-31 17:58 UTC (permalink / raw)



but with the default -Werror flag it breaks the build.  I'm sorry that
I don't know the right fix, a simple cast or SCM2PTR or something?

Greetings,
Jan.


make[2]: Entering directory `/var/fred/cvs/savannah/guile/guile-core/libguile'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libguile-ltdl    -g -O2 -DSCM_DEBUG_CELL_ACCESSES=1 -Wall -Wmissing-prototypes -Werror -MT guile.o -MD -MP -MF ".deps/guile.Tpo" \
  -c -o guile.o `test -f 'guile.c' || echo './'`guile.c; \
then mv -f ".deps/guile.Tpo" ".deps/guile.Po"; \
else rm -f ".deps/guile.Tpo"; exit 1; \
fi
In file included from ../libguile.h:132,
                 from guile.c:32:
../libguile/inline.h: In function `scm_cell':
../libguile/inline.h:101: warning: comparison between pointer and integer
make[2]: *** [guile.o] Error 1
make[2]: Leaving directory `/var/fred/cvs/savannah/guile/guile-core/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/fred/cvs/savannah/guile/guile-core'
make: *** [all] Error 2
19:51:37 janneke@peder:~/cvs/savannah/guile/guile-core
$ gcc --version
gcc (GCC) 3.3.3 (Debian 20040321)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CVS build warning
  2004-03-31 17:58 CVS build warning Jan Nieuwenhuizen
@ 2004-05-10 21:47 ` Marius Vollmer
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2004-05-10 21:47 UTC (permalink / raw)
  Cc: guile-devel

Jan Nieuwenhuizen <janneke@gnu.org> writes:

> but with the default -Werror flag it breaks the build.  I'm sorry that
> I don't know the right fix, a simple cast or SCM2PTR or something?

Han-Wen has fixed this already, I think.

2004-04-06  Han-Wen Nienhuys   <hanwen@xs4all.nl>

	* inline.h (scm_cell): use SCM_GC_CELL_WORD for checking tag.


-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-10 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-31 17:58 CVS build warning Jan Nieuwenhuizen
2004-05-10 21:47 ` Marius Vollmer

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).