views:

51

answers:

1

How Can I turn off warnings in swi-prolog.

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

is very annoying.

+3  A: 

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:

  • Not contiguous
  • Exceed the maximum number of clauses
Kevin Crowell