Harmless warning at Logtalk startup

Tips and tricks when running Logtalk using GNU Prolog as the back-end compiler

Moderator: Paulo Moura

Post Reply
Paulo Moura
Logtalk developer
Posts: 474
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Harmless warning at Logtalk startup

Post by Paulo Moura » Fri May 30, 2008 9:42 am

Hi!

Those of you using GNU Prolog as the Logtalk back-end compiler will notice the following warning at startup:

Code: Select all

warning: suspicious predicate {}/1
This warning is harmless as is due to the use of the {}/1 predicate as a shortcut to the logtalk_load/1 predicate. Moreover, this use of the {}/1 predicate is compatible with the current ISO Prolog standard.

Happy logtalking,

Paulo
Paulo Moura
Logtalk developer

Paulo Moura
Logtalk developer
Posts: 474
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: Harmless warning at Logtalk startup

Post by Paulo Moura » Thu Jun 19, 2008 12:15 am

Hi!

With the release of Logtalk 2.32.0, besides the warning described above, you will also get (while using GNU Prolog as the back-end compiler) a set of warnings related to multifile/1 directives (which this Prolog compiler does not support). These warnings can be safely ignored. Unfortunately, there is no GNU Prolog option that allows turning these warnings off.

Happy logtalking!

Paulo
Paulo Moura
Logtalk developer

Paulo Moura
Logtalk developer
Posts: 474
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: Harmless warning at Logtalk startup

Post by Paulo Moura » Sun Mar 15, 2009 10:02 am

All the warnings described in previous posts are gone when using GNU Prolog 1.3.1.
Paulo Moura
Logtalk developer

Paulo Moura
Logtalk developer
Posts: 474
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: Harmless warning at Logtalk startup

Post by Paulo Moura » Sat Apr 11, 2009 3:37 pm

With the release of the Logtalk 2.36.0, there is a new warning at startup related to the loading of the "libpaths.pl" file. The warning results from the lack of support for multifile predicates in GNU Prolog 1.3.1 and can be safely ignored.
Paulo Moura
Logtalk developer

Paulo Moura
Logtalk developer
Posts: 474
Joined: Sat May 05, 2007 8:35 am
Location: Portugal
Contact:

Re: Harmless warning at Logtalk startup

Post by Paulo Moura » Fri Aug 14, 2009 5:34 pm

With the release of the Logtalk 2.37.3, the GNU Prolog integration script loads an alternative "libpaths/libpaths_no_multifile.pl" file that avoids the multifile warning at Logtalk startup related to the logtalk_library_path/2 predicate.
Paulo Moura
Logtalk developer

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest