next up previous

Appendix F CLIPS Warning Messages

CLIPS typically will display two kinds of warning messages: those associated with executing constructs and those associated with loading constructs. This appendix describes some of the more common warning messages and what they mean. Each message begins with a unique identifier enclosed in brackets followed by the keyword WARNING; the messages are listed here in alphabetic order according to the identifier.[CONSCOMP1] WARNING: Base file name exceeds 3 characters. This may cause files to be overwritten if file name length is limited on your platform.

The constructstoc command generates file names using the file name prefix supplied as an argument. If this base file name is longer than three characters, then the possibility exists that files may be overwritten if file name length is limited on your platform.[CONSCOMP2] WARNING: Array name <arrayName> exceeds 6 characters in length. This variable may be indistinguishable from another by the linker.

The constructstoc command generates arrays for storing data structures. If the SHORT_LINK_NAMES compiler flag is enabled, then this warning message is displayed if generated array names exceed six characters in length.[CSTRNBIN1] WARNING: Constraints are not saved with a binary image when dynamic constraint checking is disabled

or[CSTRNCMP1] WARNING: Constraints are not saved with a constructstoc image when dynamic constraint checking is disabled

These warnings occur when dynamic constraint checking is disabled and the constructstoc or bsave commands are executed. Constraints attached to deftemplate and defclass slots will not be saved with the runtime or binary image in these cases since it is assumed that dynamic constraint checking is not required. Enable dynamic constraint checking with the setdynamicconstraintchecking function before calling constructstoc or bsave in order to include constraints in the runtime or binary image.[DFFNXFUN1] WARNING: Deffunction <name> only partially deleted due to usage by other constructs.

During a clear or deletion of all deffunctions, only the actions of a deffunction were deleted because another construct which also could not be deleted referenced the deffunction.

Example:

CLIPS>
(deffunction foo ()
  (printout t "Hi there!" crlf))
CLIPS>
(deffunction bar ()
  (foo)
  (undeffunction *))
CLIPS> (bar)[GENRCBIN1] WARNING: COOL not installed! Userdefined
class in method restriction substituted with OBJECT.

This warning occurs when a generic function method restricted by defclasses is loaded using the bload command into a CLIPS configuration where the object language is not enabled. The restriction containing the defclass will match any of the primitive types.[OBJBIN1] WARNING: Around messagehandlers are not supported in this environment.

This warning occurs when an around messagehandler is loaded using the bload command into a CLIPS configuration not supporting imperative messagehandlers.[OBJBIN2] WARNING: Before and after messagehandlers are not supported in this environment.

This warning occurs when a before or an after messagehandler is loaded using the bload command into a CLIPS configuration not supporting auxiliary messagehandlers.




next up previous