[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with Disable Mac App Nap

From: Ben Abbott
Subject: Problem with Disable Mac App Nap
Date: Mon, 28 Oct 2019 20:16:23 -0700

Hi Andrew,

After changeset 27575:d0fe6e344c41 I’m seeing the error below (macOS 10.14.6)

libgui/src/octave-qobject.cc:197:26: warning: use of old-style cast 
    process_info_class = (Class) objc_getClass ("NSProcessInfo");
                         ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libgui/src/octave-qobject.cc:210:39: warning: use of old-style cast 
    if ((process_info = objc_msgSend ((id)process_info_class, 
process_info_selector)) == nil)
                                      ^   ~~~~~~~~~~~~~~~~~~
libgui/src/octave-qobject.cc:213:21: error: no matching function for call to 
    reason_string = objc_msgSend (objc_getClass ("NSString"),
 note: candidate function not viable: no known conversion from 'Class 
_Nullable' (aka 'objc_class *') to
      'id _Nullable' (aka 'objc_object *') for 1st argument
objc_msgSend(id _Nullable self, SEL _Nonnull op, ...)
libgui/src/octave-qobject.cc:222:5: error: use of undeclared identifier 
    osx_latencycritical_activity = objc_msgSend (process_info,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]