Bugs in gprolog.h (GNU Prolog 1.3.0)

Roberto Bagnara <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general,gmane.comp.gnu.prolog.bugs
Organization Department of Mathematics, University of Parma, Italy
Message-ID <[email protected]>
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:[email protected]
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.