Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何关闭 swi-prolog 中的警告。
Clauses of XXX/AA are not together in the source-file
很烦人。
相反,您可以修复警告。
当静态(已编译)谓词的子句不能作为单个单元编译时,需要使用不连续指令。当子句定义为:
您可以使用style_check关闭这些警告:-style_check(-discontiguous).。
:-style_check(-discontiguous).
例如,您还可以推迟有关单例变量的警告:-style_check(-singleton).
:-style_check(-singleton).