关闭 swi-prolog 中的警告 [英] Turning off warnings in swi-prolog

查看:45
本文介绍了关闭 swi-prolog 中的警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何关闭 swi-prolog 中的警告.

How Can I turn off warnings in swi-prolog.

Clauses of XXX/AA are not together in the source-file

很烦人.

推荐答案

相反,您可以修复警告.

Instead, you could fix the warning.

不连续指令静态(编译)谓词不能编译为单个单元.当子句定义为:

The discontiguous directive is needed when the clauses of a static (compiled) predicate cannot be compiled as a single unit. This happens when the clause definitions are:

  • 不连续
  • 超过最大数量的子句

这篇关于关闭 swi-prolog 中的警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆