* gmp.h
@ 2004-09-22 21:31 Jan Nieuwenhuizen
2004-09-22 21:57 ` gmp.h Kevin Ryde
2004-09-22 23:36 ` gmp.h Marius Vollmer
0 siblings, 2 replies; 5+ messages in thread
From: Jan Nieuwenhuizen @ 2004-09-22 21:31 UTC (permalink / raw)
Cc: Han-Wen Nienhuys
May I ask why this
* numbers.h, numbers.c: Include <gmp.h> in numbers.h, not in
numbers.c.
change? It pulls gmp.h in into the application using guile. Apart
from LilyPond breakage, I'm not sure if that's what you want?
Jan.
rm -f ./out/accidental-engraver.dep; DEPENDENCIES_OUTPUT="./out/accidental-engraver.dep ./out/accidental-engraver.o" g++ -c -DHAVE_CONFIG_H -Iinclude -I./out -I../flower/include -I../flower/./out -I../flower/include -g -pipe -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -I/home/janneke/usr/pkg/guile/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -pipe -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -I/home/janneke/usr/pkg/guile/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wconversion -o out/accidental-engraver.o accidental-engraver.cc
In file included from /usr/include/c++/3.3/iosfwd:46,
from /usr/include/gmp.h:26,
from /home/janneke/usr/pkg/guile/include/libguile/numbers.h:25,
from /home/janneke/usr/pkg/guile/include/libguile.h:87,
from include/lily-guile.hh:12,
from include/grob.hh:14,
from include/accidental-placement.hh:13,
from accidental-engraver.cc:10:
/usr/include/c++/3.3/i486-linux/bits/c++locale.h:70: error: template with C
linkage
--
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://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gmp.h
2004-09-22 21:31 gmp.h Jan Nieuwenhuizen
@ 2004-09-22 21:57 ` Kevin Ryde
2004-09-22 23:37 ` gmp.h Marius Vollmer
2004-09-22 23:36 ` gmp.h Marius Vollmer
1 sibling, 1 reply; 5+ messages in thread
From: Kevin Ryde @ 2004-09-22 21:57 UTC (permalink / raw)
Cc: Han-Wen Nienhuys, guile-devel
Jan Nieuwenhuizen <janneke@gnu.org> writes:
>
> /usr/include/c++/3.3/i486-linux/bits/c++locale.h:70: error: template with C
> linkage
The big extern "C" in libguile.h breaks gmp.h.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gmp.h
2004-09-22 21:57 ` gmp.h Kevin Ryde
@ 2004-09-22 23:37 ` Marius Vollmer
2004-09-23 1:10 ` gmp.h Kevin Ryde
0 siblings, 1 reply; 5+ messages in thread
From: Marius Vollmer @ 2004-09-22 23:37 UTC (permalink / raw)
Cc: guile-devel, Han-Wen Nienhuys
Kevin Ryde <user42@zip.com.au> writes:
> Jan Nieuwenhuizen <janneke@gnu.org> writes:
>>
>> /usr/include/c++/3.3/i486-linux/bits/c++locale.h:70: error: template with C
>> linkage
>
> The big extern "C" in libguile.h breaks gmp.h.
Ahh. Would it work to include gmp.h in libguile.h, outside of the
extern "C" block?
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gmp.h
2004-09-22 21:31 gmp.h Jan Nieuwenhuizen
2004-09-22 21:57 ` gmp.h Kevin Ryde
@ 2004-09-22 23:36 ` Marius Vollmer
1 sibling, 0 replies; 5+ messages in thread
From: Marius Vollmer @ 2004-09-22 23:36 UTC (permalink / raw)
Cc: Han-Wen Nienhuys, guile-devel
Jan Nieuwenhuizen <janneke@gnu.org> writes:
> May I ask why this
>
> * numbers.h, numbers.c: Include <gmp.h> in numbers.h, not in
> numbers.c.
>
> change? It pulls gmp.h in into the application using guile. Apart
> from LilyPond breakage, I'm not sure if that's what you want?
We need gmp.h in numbers.h for the scm_to_mpz and scm_from_mpz
prototypes.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-09-23 1:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-22 21:31 gmp.h Jan Nieuwenhuizen
2004-09-22 21:57 ` gmp.h Kevin Ryde
2004-09-22 23:37 ` gmp.h Marius Vollmer
2004-09-23 1:10 ` gmp.h Kevin Ryde
2004-09-22 23:36 ` gmp.h 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).