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

Daniel Diaz Daniel.Diaz at univ-paris1.fr
Thu Sep 4 13:13:33 CEST 2008


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
> 


-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.




More information about the PPL-devel mailing list