[PPL-devel] Bugs in gprolog.h (GNU Prolog 1.3.0)

Roberto Bagnara bagnara at cs.unipr.it
Sun Aug 31 10:43:35 CEST 2008


The bug in the header file gprolog.h already reported in 2002
(http://lists.gnu.org/archive/html/users-prolog/2002-09/msg00000.html)
is still there.  That is, the version installed by GNU Prolog
1.3.0 contains the following variable declarations
at lines 1947, 1948 and 2096, respectively:

int last_read_line;
int last_read_col;
...
unsigned *byte_code;

Header files should never contain such things in order to
avoid the obvious link-time errors.
All the best,

     Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the PPL-devel mailing list