Compiling gprolog 1.2.16 under MacOSX

"Alberto Simões" <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Hi

I am trying to compile 1.2.16 under MacOSX (10.4.4, I think) and with gcc 4
(yeah, I know it complains a lot, but I am trying to cope with it). When
compiling, I get:

In file included from /Users/ambs/tmp/gprolog-1.2.16
/src/EnginePl/engine_pl.h:40,
                 from error_supp.c:34:
/Users/ambs/tmp/gprolog-1.2.16/src/EnginePl/obj_chain.h:84: error: static
declaration of 'obj_chain_stop' follows non-static declaration
/Users/ambs/tmp/gprolog-1.2.16/src/EnginePl/obj_chain.h:79: error: previous
declaration of 'obj_chain_stop' was here
compilation failed
make[1]: *** [error_supp.o] Error 1
make: *** [all] Error 1

I tried to correct it (it is simple) but then I get another, and another,
and another. Is there any other version of gprolog without these errors, is
there any trick I can use, or should I really try using gcc 3.x instead?

Thanks
Alberto

--
Alberto Simões

_______________________________________________
Users-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/users-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.