gprolog-1.2.19 fails to compile under gcc 4.0.0

[email protected]
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
gprolog-1.2.19 fails to compile under gcc 4.0.0:

  gplc -c -C '-O3 -fomit-frame-pointer' engine.c
  engine.c: In function &#65533;all_Prolog&#65533;
  engine.c:318: error: invalid lvalue in assignment
  engine.c:331: error: invalid lvalue in assignment
  engine.c: In function &#65533;all_Prolog_Next_Sol&#65533;
  engine.c:351: error: invalid lvalue in assignment
  engine.c:359: error: invalid lvalue in assignment
  engine.c: In function &#65533;eep_Rest_For_Prolog&#65533;
  engine.c:380: error: invalid lvalue in assignment
  engine.c:386: error: invalid lvalue in assignment
  compilation failed

It does compile with warnings under gcc 3.4.3.  I'm installing
gprolog-1.2.19
on SuSE Linux for x86 9.1.

Geoff Alexander
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.