Ignore:
Timestamp:
Dec 7, 2007, 9:15:06 PM (13 years ago)
Author:
gz
Message:

Print the 'defining new Objc message' note if either *compile-print* or (the new variable) *objc-verbose* is true. Unimportantly default *objc-verbose* to false

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/objc-bridge/bridge.lisp

    r7471 r7845  
    10881088      method-info)))
    10891089
     1090(defvar *objc-verbose* nil)
     1091
    10901092;;; Still not right; we have to worry about type conflicts with
    10911093;;; shadowed methods, as well.
     
    10931095  (let* ((info (get-objc-message-info message-name)))
    10941096    (unless info
    1095       (format *error-output* "~&; Note: defining new ObjC message ~c[~a ~a]" (if class-p #\+ #\-) class-name message-name)
     1097      (when (or *objc-verbose* *compile-print*)
     1098        (format *error-output* "~&; Note: defining new ObjC message ~c[~a ~a]" (if class-p #\+ #\-) class-name message-name))
    10961099      (setq info (make-objc-message-info :message-name message-name))
    10971100      (setf (gethash message-name *objc-message-info*) info))
Note: See TracChangeset for help on using the changeset viewer.