如何在swi-prolog中关闭警告。
Clauses of XXX/AA are not together in the source-file非常烦人。
发布于 2010-03-20 14:07:55
相反,您可以修复警告。
当静态(已编译)谓词的子句不能被编译为单个单元时,需要使用discontiguous directive。当子句定义满足以下条件时,会发生这种情况:
Not contiguous
子句的最大数量
发布于 2016-12-06 03:51:28
您可以使用:-style_check(-discontiguous).通过style_check关闭这些警告。
例如,您还可以使用:-style_check(-singleton).推迟有关单例变量的警告
https://stackoverflow.com/questions/2482101
复制相似问题