Changeset 15576


Ignore:
Timestamp:
Jan 10, 2013, 10:48:01 PM (6 years ago)
Author:
rme
Message:

In build-ide, don't bother checking whether all the classes in the
interfaces are found in the runtime. Even warning about it is
pointless: of course older systems will be missing certain classes
found in interfaces built from a newer system.

What's the user supposed to do about such a warning, anyway? Install
Mountain Lion? Now if we got referral commissions, that might be
diferent. I can see it now: "Warning! I see that you are running a
version of Mac OS X that does not include the NSPopover class. Don't
you yearn to make popovers pop up over everything? Don't miss out on
notifying the user of matters both mundane and extraordinary with
notifications displayed in Notification Center via the
new-for-Mountain-Lion NSUserNotificationCenter! Go to the Mac App
Store and upgrade to the latest OS X release today!"

See ticket:1047.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/start.lisp

    r15567 r15576  
    124124  #-cocotron                            ;needs conditionalization
    125125  (require :easygui)
    126 
    127   (ccl::maybe-map-objc-classes t)
    128   (let* ((missing ()))
    129     (ccl::do-interface-dirs (d)
    130       (ccl::cdb-enumerate-keys
    131        (ccl::db-objc-classes d)
    132        (lambda (name)
    133          (let* ((class (ccl::lookup-objc-class name nil)))
    134            (unless (ccl::objc-class-id  class) (push name missing))))))
    135     (when missing
    136       (warn "ObjC classes ~{~&~a~} are declared but not defined." missing)))
    137126
    138127  #-cocotron
Note: See TracChangeset for help on using the changeset viewer.