From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: 8403@debbugs.gnu.org
Subject: bug#8403: 24.0.50; revno: 103764, nsterm.m does not compile
Date: Fri, 1 Apr 2011 15:38:27 +0200 [thread overview]
Message-ID: <53AAAA79-A4C9-4BA7-BBC2-6CD37CB4722B@Freenet.DE> (raw)
Hello!
Gcc-4.2 reports:
nsterm.m: In function ‘ns_update_auto_hide_menu_bar’:
nsterm.m:600: error: ‘NSApplicationPresentationOptions’ undeclared
(first use in this function)
nsterm.m:600: error: (Each undeclared identifier is reported only once
nsterm.m:600: error: for each function it appears in.)
nsterm.m:600: error: expected ‘;’ before ‘options’
nsterm.m:604: error: ‘options’ undeclared (first use in this function)
nsterm.m:604: error: ‘NSApplicationPresentationAutoHideMenuBar’
undeclared (first use in this function)
nsterm.m:606: warning: no ‘-setPresentationOptions:’ method found
nsterm.m:606: warning: (Messages without a matching method signature
nsterm.m:606: warning: will be assumed to return ‘id’ and accept
nsterm.m:606: warning: ‘...’ as arguments.)
nsterm.m: In function ‘-[EmacsView conversationIdentifier]’:
nsterm.m:4869: warning: conflicting types for ‘-(long
int)conversationIdentifier’
/System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:
23: warning: previous declaration of ‘-
(NSInteger)conversationIdentifier’
In the "AppKit" Emacs 23.3 src/macappkit.h has:
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
enum {
NSApplicationPresentationDefault = 0,
NSApplicationPresentationAutoHideDock = 1 << 0,
NSApplicationPresentationHideDock = 1 << 1,
NSApplicationPresentationAutoHideMenuBar = 1 << 2,
NSApplicationPresentationHideMenuBar = 1 << 3,
NSApplicationPresentationDisableAppleMenu = 1 << 4,
NSApplicationPresentationDisableProcessSwitching = 1 << 5,
NSApplicationPresentationDisableForceQuit = 1 << 6,
NSApplicationPresentationDisableSessionTermination = 1 << 7,
NSApplicationPresentationDisableHideApplication = 1 << 8
};
typedef NSUInteger NSApplicationPresentationOptions;
@interface NSApplication (AvailableOn1060AndLater)
- (void)setPresentationOptions:
(NSApplicationPresentationOptions)newOptions;
- (void)registerUserInterfaceItemSearchHandler:
(id<NSUserInterfaceItemSearching>)handler;
- (BOOL)searchString:(NSString *)searchString
inUserInterfaceItemString:(NSString *)stringToSearch
searchRange:(NSRange)searchRange foundRange:(NSRange *)foundRange;
@end
#endif
Mac OS X 10.5.8, PPC.
--
Greetings
Pete
This is a signature virus. Add me to your signature and help me to
live!
next reply other threads:[~2011-04-01 13:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 13:38 Peter Dyballa [this message]
2011-04-02 7:15 ` bug#8403: 24.0.50; revno: 103764, nsterm.m does not compile Jan Djärv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53AAAA79-A4C9-4BA7-BBC2-6CD37CB4722B@Freenet.DE \
--to=peter_dyballa@freenet.de \
--cc=8403@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.