[Top][All Lists]

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

Re: Mac OS Sierra tab feature breaks C-x 5 2

From: Anders Lindgren
Subject: Re: Mac OS Sierra tab feature breaks C-x 5 2
Date: Mon, 10 Jul 2017 22:22:43 +0200

Now it compiles, but with a warning:

nsterm.m:7078:10: warning: instance method '-setTabbingMode:' not found (return type defaults to 'id') [-Wobjc-method-access]
    [win setTabbingMode: NSWindowTabbingModeDisallowed];
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:167:12: note: receiver is instance of class declared here
@interface NSWindow : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceValidations, NSUserInterfaceItemIdentifica...

I've seen other packages declare methods in NSWindows, but I don't know how "correct" that is. For example:


    -- Anders

On Mon, Jul 10, 2017 at 9:52 PM, Alan Third <address@hidden> wrote:
On Mon, Jul 10, 2017 at 09:17:58PM +0200, Anders Lindgren wrote:
> Unfortunately, it doesn't compile. I get the following error when I build
> on 10.10.5:
> nsterm.m:7078:26: error: use of undeclared identifier
> 'NSWindowTabbingModeDisallowed'
>     [win setTabbingMode: NSWindowTabbingModeDisallowed];
> Fortunately, the fix is simple. If we build on an older system, we can
> define the NSWindowTabbingModeXxx constants ourselves.

I think this should do it, then...
Alan Third

reply via email to

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