[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33035: 27.0.50; Deprecated macOS functions
From: |
Lars Ingebrigtsen |
Subject: |
bug#33035: 27.0.50; Deprecated macOS functions |
Date: |
Sun, 16 Aug 2020 19:45:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Philipp <p.stephani2@gmail.com> writes:
> A few functions and variables have been deprecated in macOS Mojave,
> these should be replaced or removed:
To replicate, I'm compiling Emacs 28 on Catalina (because I would assume
even more things have been deprecated there).
> CC nsterm.o
> nsterm.m:175:16: warning: 'colorUsingColorSpaceName:' is deprecated: first
> deprecated in macOS 10.14 - Use -colorUsingType: or -colorUsingColorSpace:
> instead
> [-Wdeprecated-declarations]
> return [self colorUsingColorSpaceName: NSCalibratedRGBColorSpace];
> ^
This one is gone...
> NSDisableScreenUpdates ();
> ^
And this one.
> [FRAME_NS_VIEW (f) scrollRect: src
> ^
Ditto.
> nsterm.m:5452:47: warning: 'NSStringPboardType' is deprecated: first
> deprecated in macOS 10.14 [-Wdeprecated-declarations]
> ns_send_types = [[NSArray arrayWithObjects: NSStringPboardType, nil]
> retain];
> ^~~~~~~~~~~~~~~~~~
> NSPasteboardTypeString
Still present.
> nsterm.m:9027:10: warning: 'NSScrollerDecrementLine' is deprecated: first
> deprecated in macOS 10.14 [-Wdeprecated-declarations]
> case NSScrollerDecrementLine:
> ^
Gone.
> nsterm.m:9029:10: warning: 'NSScrollerIncrementLine' is deprecated: first
> deprecated in macOS 10.14 [-Wdeprecated-declarations]
> case NSScrollerIncrementLine:
Ditto.
> nsmenu.m:670:25: warning: 'NSOnState' is deprecated: first deprecated in
> macOS 10.14 [-Wdeprecated-declarations]
> [item setState: NSOnState];
> ^~~~~~~~~
> NSControlStateValueOn
And this.
So it's basically just the Pboard... And this new one:
sxwidget.m:75:31: warning: 'plugInsEnabled' is deprecated: first deprecated in
macOS 10.15 - Plug-ins are no longer supported
[-Wdeprecated-declarations]
configuration.preferences.plugInsEnabled = YES;
^
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#33035: 27.0.50; Deprecated macOS functions,
Lars Ingebrigtsen <=