gprolog-1.2.16 doesn't compile under OS X 10.4

Joachim Bengtsson <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
Hey,

The above release doesn't compile under Mac OS X 10.4.2. I tried to  
fix it up myself in a spiffy, but it didn't work.

This is where errors were reported and that I tried to fix:

EnginePl/obj_chain.h, lines 79 and on:
 >>>>
extern ObjChain *obj_chain_stop;

static ObjChain obj_chain_start =
   { OBJ_CHAIN_MAGIC_1, OBJ_CHAIN_MAGIC_2, &obj_chain_stop, OBJ_INIT };

static ObjChain *obj_chain_stop = &obj_chain_start;
<<<<<
extern ObjChain *obj_chain_stop;

static ObjChain obj_chain_start =
   { OBJ_CHAIN_MAGIC_1, OBJ_CHAIN_MAGIC_2, &obj_chain_stop, OBJ_INIT };

ObjChain *obj_chain_stop = &obj_chain_start;


BipsPl/flag_c.c, line 80:
 >>>>>
static int atom_error;
<<<<<
int atom_error;

BipsPl/os_interf_c.c, line 97, 98:
<<<<<
int atom_read;
int atom_write;


uh, and more. I suppose it's related to the switch to gcc4... With  
the above "fixes", I get multiple linker errors, which isn't entirely  
surprising. but anyway. Just wanted to tell you about the  
incompilability.

  - nevyn

_______________________________________________
Bug-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-prolog
smime.p7s (application/pkcs7-signature, 2.3 KB) - not displayed
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.