Subject: Re: SWI-Prolog bug report

From: Paulo Moura <[email-masked]>
Date: Mon, 21 Jan 2002 17:16:35 +0000

On Segunda, Janeiro 21, 2002, at 04:28 , Jan Wielemaker wrote:

> [ Replied to mailing list, maybe people with more experience on the 
> Darwin OS
> ]
> ...

Darwin is the name of the BSD layer in MacOS X:

[localhost:~] pmoura% uname -a
Darwin localhost 5.2 Darwin Kernel Version 5.2: Fri Dec  7 21:39:35 PST 
2001; root:xnu/xnu-201.14.obj~1/RELEASE_PPC  Power Macintosh powerpc

Of course, he may be running the version of Darwin for Intel 
processors... That sais, all the comments posted some time ago in a web 
page (forgot the URL) about compiling SWI-Prolog in a MacOS X box should 
apply.

>
> definition pl-wam.c:1748: illegal expression, found `&&'
> pl-wam.c:1749: illegal expression, found `&&'
>
> <lots and lots more>

Just ignore these errors. Is just the pre-processor trying to use 
pre-compiled headers. I believe the problem can be avoided by passing 
the flag traditional-cpp to (g)cc (by modifying the configure.in file ?).

Regards,

Paulo

-----------------------------------------------------------
Paulo Jorge Lopes de Moura
Dep. of Informatics                   Office 4.3  Ext. 3257
University of Beira Interior          Phone: +351 275319700
6201-001 Covilhã                      Fax:   +351 275319732
Portugal

mailto:[email-masked]
http://www.ci.uc.pt/logtalk/pmoura.html
-----------------------------------------------------------