[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55940] [Mac] Disable App Nap, either selectiv
From: |
Andrew Janke |
Subject: |
[Octave-bug-tracker] [bug #55940] [Mac] Disable App Nap, either selectively or for all of Octave |
Date: |
Tue, 29 Oct 2019 00:16:56 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0 |
Follow-up Comment #52, bug #55940 (project octave):
Build failure, I'm afraid.
/Applications/Xcode-10.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/message.h:85:1:
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'
osx_latencycritical_activity = objc_msgSend (process_info,
^
Please revert, and let me get a working build using this change set as a patch
before committing again.
> Also, when you get around to testing, could you check whether the function
disable_app_nap needs to be member function (even though private) of
base_qobject? It seems like it would be simpler to have the function be a
static file local function in base_qobject.cc that is never seen outside the
file.
Oh, I think static would work fine. It's just my habit to make things member
functions, since I'm a Java-head. I'll do that instead.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55940>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/