Bugs in gprolog.h (GNU Prolog 1.3.0)

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

Roberto,
Thank you for your report.
The problem with gprolog.h is that it is automatically generated and used internally by our sources. We have already this in mind for the next version under preparation which will contain a very minimal gprolog.h. This version needs a quasi-complete rewriting of the core. It is a big task...
Sorry for the inconvenience
Roberto Bagnara a écrit :
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
participants (2)
-
Daniel Diaz
-
Roberto Bagnara